2016-11-07 02:20:15 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# toolchain-external-custom
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
TOOLCHAIN_EXTERNAL_CUSTOM_SITE = $(patsubst %/,%,$(dir $(call qstrip,$(BR2_TOOLCHAIN_EXTERNAL_URL))))
|
|
|
|
TOOLCHAIN_EXTERNAL_CUSTOM_SOURCE = $(notdir $(call qstrip,$(BR2_TOOLCHAIN_EXTERNAL_URL)))
|
|
|
|
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CUSTOM),y)
|
|
|
|
# We can't check hashes for custom downloaded toolchains
|
|
|
|
BR_NO_CHECK_HASH_FOR += $(TOOLCHAIN_EXTERNAL_SOURCE)
|
2022-04-02 04:31:35 +02:00
|
|
|
ifeq ($(BR_BUILDING)$(BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD),yy)
|
|
|
|
ifeq ($(TOOLCHAIN_EXTERNAL_CUSTOM_SOURCE),)
|
|
|
|
$(error No external toolchain url set, check your BR2_TOOLCHAIN_EXTERNAL_URL setting)
|
|
|
|
endif
|
|
|
|
endif
|
2016-11-07 02:20:15 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(toolchain-external-package))
|