toolchain-external-custom: ensure BR2_TOOLCHAIN_EXTERNAL_URL is set
PATCH 1/1 toolchain-external-custom: ensure BR2_TOOLCHAIN_EXTERNAL_URL is set
Signed-off-by James Hilliard <[email protected]>
--- .../toolchain-external-custom/toolchain-external-custom.mk | 5 +++++ 1 file changed, 5 insertions(+)
toolchain/toolchain-external/toolchain-external-custom/toolchain-external-custom.mk +5 -0
@@ -10,6 +10,11 @@ TOOLCHAIN_EXTERNAL_CUSTOM_SOURCE = $(notdir $(call qstrip,$(BR2_TOOLCHAIN_EXTERN ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CUSTOM),y) # We can't check hashes for custom downloaded toolchains BR_NO_CHECK_HASH_FOR += $(TOOLCHAIN_EXTERNAL_SOURCE) +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD),y) +ifeq ($(TOOLCHAIN_EXTERNAL_CUSTOM_SOURCE),) +$(error No external toolchain url set, check your BR2_TOOLCHAIN_EXTERNAL_URL setting) +endif +endif endif $(eval $(toolchain-external-package))
Signature · 6 lines
2.25.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"James" == James Hilliard <[email protected]> writes:
Signed-off-by James Hilliard <[email protected]>
Committed to 2022.02.x, thanks.
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot