[Buildroot] [PATCH 4/4] Fix externals-deps and source-check when building out of tree

Will Wagner will_wagner at carallon.com
Wed Aug 25 10:28:40 UTC 2010


Signed-off-by: Will Wagner <will_wagner at carallon.com>
---
 Makefile |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile
index 291badf..7345beb 100644
--- a/Makefile
+++ b/Makefile
@@ -432,10 +432,10 @@ endif
 source: $(TARGETS_SOURCE) $(HOST_SOURCE)
 
 _source-check:
-	$(MAKE) SPIDER=--spider source
+	$(MAKE) O=$(O) SPIDER=--spider source
 
 external-deps:
-	@$(MAKE) -Bs BR2_WGET=$(TOPDIR)/toolchain/wget-show-external-deps.sh \
+	@$(MAKE) O=$(O) -Bs BR2_WGET=$(TOPDIR)/toolchain/wget-show-external-deps.sh \
 		SPIDER=--spider source
 
 show-targets:
@@ -558,7 +558,7 @@ defconfig: $(BUILD_DIR)/buildroot-config/conf
 
 # check if download URLs are outdated
 source-check: allyesconfig
-	$(MAKE) _source-check
+	$(MAKE) O=$(O) _source-check
 
 endif # ifeq ($(BR2_HAVE_DOT_CONFIG),y)
 
-- 
1.7.1




More information about the buildroot mailing list