Message ID | 20131128215557.GE3337@free.fr |
---|---|
State | Superseded |
Headers | show |
diff --git a/Makefile b/Makefile index 83a5c06..038294b 100644 --- a/Makefile +++ b/Makefile @@ -131,12 +131,14 @@ BR2_EXTERNAL_USED = y $(shell echo $(BR2_EXTERNAL) > $(BR2_EXTERNAL_FILE)) endif else # Case 3 +ifneq ($(wildcard $(BR2_EXTERNAL_FILE)),) override BR2_EXTERNAL := $(shell test -f $(BR2_EXTERNAL_FILE) && cat $(BR2_EXTERNAL_FILE)) ifeq ($(wildcard $(BR2_EXTERNAL)),) $(error "The specified BR2_EXTERNAL '$(BR2_EXTERNAL)' location doesn't exist") endif BR2_EXTERNAL_USED = y endif +endif