diff options
author | Daniel Thompson <daniel.thompson@linaro.org> | 2016-09-11 20:51:22 +0100 |
---|---|---|
committer | Anas Nashif <nashif@linux.intel.com> | 2016-09-12 02:35:20 +0000 |
commit | 389ed15b4ce2106b758e0fa5a8cfcfae86aa0573 (patch) | |
tree | 7495b0cff5121a68dbecc30e4888541e5ef09e0e /scripts | |
parent | e4980bd392ce720a07d16ec439a50a3f460437d1 (diff) |
build: Make QEMU_BIN_PATH optional
QEMU_BIN_PATH is frequently set to pick up qemu binaries from "obvious"
places such as /usr/bin or /usr/local/bin. Neither of these values will
be correct for all users and both directories would typically be found
in the user's PATH. Much better to make QEMU_BIN_PATH optional and picking
up qemu via PATH instead.
Tested with ZEPHYR_GCC_VARIANT={zephyr|xtools}.
Change-Id: I1acfc5b12341c6d330a3e9e90b0ab5bde29e2e4f
Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
Cc: Andrew Boie <andrew.p.boie@intel.com>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Makefile.toolchain.xtools | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/Makefile.toolchain.xtools b/scripts/Makefile.toolchain.xtools index 86dcf4f00..6fb8c412e 100644 --- a/scripts/Makefile.toolchain.xtools +++ b/scripts/Makefile.toolchain.xtools @@ -24,6 +24,4 @@ TOOLCHAIN_LIBS = gcc CROSS_COMPILE_version = $(shell $(CROSS_COMPILE)gcc -dumpversion) LIB_INCLUDE_DIR += -L ${CROSS_COMPILE_ROOT}/lib/gcc/${CROSS_COMPILE_TARGET}/${CROSS_COMPILE_version}/ -QEMU_BIN_PATH ?= /usr/local/bin - -export CROSS_COMPILE TOOLCHAIN_LIBS LIB_INCLUDE_DIR TOOLCHAIN_CFLAGS QEMU_BIN_PATH +export CROSS_COMPILE TOOLCHAIN_LIBS LIB_INCLUDE_DIR TOOLCHAIN_CFLAGS |