[Buildroot] [git commit] Makefile: unbreak source-check

From: Peter Korsgaard <jacmet@sunsite.dk>
Date: 2011-07-15 18:57:59
Subsystem: kernel build + files below scripts/ (unless maintained elsewhere), the rest · Maintainers: Nathan Chancellor, Nicolas Schier, Linus Torvalds

commit: http://git.buildroot.net/buildroot/commit/?id=7c2974596971e20a7d8d606d88bfd1b682472edb
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

'source-check' breaks because the *_DEFCONFIG options are empty strings.
There is an explicit check to avoid erroring-out when doing 'source', but
not when doing 'source-check'.

This patch set DL_MODE right from the first sub-make call.

Signed-off-by: "Yann E. MORIN" <redacted>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
 Makefile |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/Makefile b/Makefile
index 2f3802c..ffe6343 100644
--- a/Makefile
+++ b/Makefile
@@ -488,9 +488,6 @@ endif
 
 source: $(TARGETS_SOURCE) $(HOST_SOURCE)
 
-_source-check:
-	$(MAKE) DL_MODE=SOURCE_CHECK $(EXTRAMAKEARGS) source
-
 external-deps:
 	@$(MAKE) -Bs DL_MODE=SHOW_EXTERNAL_DEPS $(EXTRAMAKEARGS) source | sort -u
 
@@ -595,7 +592,7 @@ savedefconfig: $(BUILD_DIR)/buildroot-config/conf outputmakefile
 
 # check if download URLs are outdated
 source-check: allyesconfig
-	$(MAKE) $(EXTRAMAKEARGS) _source-check
+	$(MAKE) DL_MODE=SOURCE_CHECK $(EXTRAMAKEARGS) source
 
 endif # ifeq ($(BR2_HAVE_DOT_CONFIG),y)
 
-- 
1.7.3.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help