Skip to contentSkip to conversation

toolchain-external-custom: ensure BR2_TOOLCHAIN_EXTERNAL_URL is set

PATCH In review James Hilliard 2 participants 2 messages Apr 2, 2022 – Apr 9, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 toolchain-external-custom: ensure BR2_TOOLCHAIN_EXTERNAL_URL is set

---
 .../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
index c4ae6125ef..a5e42c09d7 100644
@@ -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