Skip to contentSkip to conversation

svn commit: trunk/buildroot: package

Buildroot ulf at uclibc.org 1 participant 1 message Jul 20, 2007

lore
Share & tools
lore
#0 lore raw

Author: ulf
Date: 2007-07-20 00:34:28 -0700 (Fri, 20 Jul 2007) New Revision: 19166

Log:
make source-check without permanently changing WGET command

Modified:
trunk/buildroot/Makefile
trunk/buildroot/package/Makefile.in

Changeset:
Modified: trunk/buildroot/Makefile
===================================================================

buildroot/Makefile +2 -6
@@ -252,13 +252,9 @@
 
 source: $(TARGETS_SOURCE) $(HOST_SOURCE)
 
-.config.check: dependencies
-	$(SED) '/BR2_WGET/s/\"$$/ --spider\"/g' .config
-	touch $@
+_source-check: 
+	$(MAKE) SPIDER=--spider source
 
-_source-check: .config.check
-	$(MAKE) source
-
 #############################################################
 #
 # Cleanup and misc junk

Modified: trunk/buildroot/package/Makefile.in
===================================================================

buildroot/package/Makefile.in +1 -1
@@ -12,7 +12,7 @@
 # Strip off the annoying quoting
 ARCH:=$(strip $(subst ",, $(BR2_ARCH)))
 #"))
-WGET:=$(strip $(subst ",, $(BR2_WGET)))
+WGET:=$(strip $(subst ",, $(BR2_WGET))) $(SPIDER)
 #"))
 SVN:=$(strip $(subst ",, $(BR2_SVN)))
 #"))