warn about unset ZEPHYR_GCC_VARIANT variable
Change-Id: I217cdf546710622b992cf8a0edd4444bc2321a04 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
27603f4801
commit
83d4ea9caa
1 changed files with 3 additions and 0 deletions
3
Makefile
3
Makefile
|
@ -569,6 +569,9 @@ include $(srctree)/scripts/Makefile.preparch
|
|||
sinclude $(srctree)/scripts/Makefile.$(SRCARCH).preparch
|
||||
ifdef ZEPHYR_GCC_VARIANT
|
||||
include $(srctree)/scripts/Makefile.toolchain.$(ZEPHYR_GCC_VARIANT)
|
||||
else
|
||||
$(if $(CROSS_COMPILE),, \
|
||||
$(error ZEPHYR_GCC_VARIANT is not set. ))
|
||||
endif
|
||||
|
||||
QEMU_BIN_PATH ?= /usr/bin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue