toolchain/toolchain-external: error if BR2_TOOLCHAIN_EXTERNAL_PATH is not set
Signed-off-by: James Hilliard <james.hilliard1@gmail.com> [Arnout: add BR_BUILDING condition] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
parent
e67d335f0e
commit
8e91385a2c
@ -69,7 +69,12 @@ ifeq ($(BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD),y)
|
||||
TOOLCHAIN_EXTERNAL_INSTALL_DIR = $(TOOLCHAIN_EXTERNAL_DOWNLOAD_INSTALL_DIR)
|
||||
else
|
||||
TOOLCHAIN_EXTERNAL_INSTALL_DIR = $(abspath $(call qstrip,$(BR2_TOOLCHAIN_EXTERNAL_PATH)))
|
||||
ifeq ($(BR2_TOOLCHAIN_EXTERNAL)$(BR_BUILDING),yy)
|
||||
ifeq ($(TOOLCHAIN_EXTERNAL_INSTALL_DIR),)
|
||||
$(error No external toolchain path set, check your BR2_TOOLCHAIN_EXTERNAL_PATH setting)
|
||||
endif
|
||||
endif
|
||||
endif # BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD
|
||||
|
||||
ifeq ($(TOOLCHAIN_EXTERNAL_INSTALL_DIR),)
|
||||
ifneq ($(TOOLCHAIN_EXTERNAL_PREFIX),)
|
||||
|
Loading…
Reference in New Issue
Block a user