make source-check without permanently changing WGET command

This commit is contained in:
Ulf Samuelsson 2007-07-20 07:34:28 +00:00
parent 62b5ae4b66
commit e7c08c297d
2 changed files with 3 additions and 7 deletions

View File

@ -252,12 +252,8 @@ $(TARGET_DIR)/etc/hostname: $(TARGET_DIR) .config
source: $(TARGETS_SOURCE) $(HOST_SOURCE) source: $(TARGETS_SOURCE) $(HOST_SOURCE)
.config.check: dependencies _source-check:
$(SED) '/BR2_WGET/s/\"$$/ --spider\"/g' .config $(MAKE) SPIDER=--spider source
touch $@
_source-check: .config.check
$(MAKE) source
############################################################# #############################################################
# #

View File

@ -12,7 +12,7 @@ MAKE:=$(HOSTMAKE) -j$(BR2_JLEVEL)
# Strip off the annoying quoting # Strip off the annoying quoting
ARCH:=$(strip $(subst ",, $(BR2_ARCH))) ARCH:=$(strip $(subst ",, $(BR2_ARCH)))
#")) #"))
WGET:=$(strip $(subst ",, $(BR2_WGET))) WGET:=$(strip $(subst ",, $(BR2_WGET))) $(SPIDER)
#")) #"))
SVN:=$(strip $(subst ",, $(BR2_SVN))) SVN:=$(strip $(subst ",, $(BR2_SVN)))
#")) #"))