mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 00:20:38 -09:00
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:
committed by
Arnout Vandecappelle (Essensium/Mind)
parent
e67d335f0e
commit
8e91385a2c
@@ -69,7 +69,12 @@ ifeq ($(BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD),y)
|
|||||||
TOOLCHAIN_EXTERNAL_INSTALL_DIR = $(TOOLCHAIN_EXTERNAL_DOWNLOAD_INSTALL_DIR)
|
TOOLCHAIN_EXTERNAL_INSTALL_DIR = $(TOOLCHAIN_EXTERNAL_DOWNLOAD_INSTALL_DIR)
|
||||||
else
|
else
|
||||||
TOOLCHAIN_EXTERNAL_INSTALL_DIR = $(abspath $(call qstrip,$(BR2_TOOLCHAIN_EXTERNAL_PATH)))
|
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
|
||||||
|
endif # BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD
|
||||||
|
|
||||||
ifeq ($(TOOLCHAIN_EXTERNAL_INSTALL_DIR),)
|
ifeq ($(TOOLCHAIN_EXTERNAL_INSTALL_DIR),)
|
||||||
ifneq ($(TOOLCHAIN_EXTERNAL_PREFIX),)
|
ifneq ($(TOOLCHAIN_EXTERNAL_PREFIX),)
|
||||||
|
|||||||
Reference in New Issue
Block a user