openocd: make openocd variables overridable from env
Some boards require a newer version of openocd, this will allow overriding the default version that comes with the SDK. Change-Id: I70113182c3a2c8610e3b36542c6057ff3f0df547 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
124feb27c5
commit
11ee55a6cc
1 changed files with 2 additions and 2 deletions
|
@ -71,7 +71,7 @@ QEMU_BIOS=$(TOOLCHAIN_HOME)/usr/share/qemu
|
|||
|
||||
TOOLCHAIN_LIBS = gcc
|
||||
|
||||
OPENOCD=${ZEPHYR_SDK_INSTALL_DIR}/sysroots/i686-pokysdk-linux/usr/bin/openocd
|
||||
OPENOCD_DEFAULT_PATH=${ZEPHYR_SDK_INSTALL_DIR}/sysroots/i686-pokysdk-linux/usr/share/openocd/scripts
|
||||
OPENOCD ?= ${ZEPHYR_SDK_INSTALL_DIR}/sysroots/i686-pokysdk-linux/usr/bin/openocd
|
||||
OPENOCD_DEFAULT_PATH ?= ${ZEPHYR_SDK_INSTALL_DIR}/sysroots/i686-pokysdk-linux/usr/share/openocd/scripts
|
||||
|
||||
export LIB_INCLUDE_DIR CROSS_COMPILE TOOLCHAIN_LIBS QEMU_BIN_PATH QEMU TOOLCHAIN_CFLAGS OPENOCD OPENOCD_DEFAULT_PATH
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue