mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 07:51:59 -09:00
make source-check without permanently changing WGET command
This commit is contained in:
8
Makefile
8
Makefile
@@ -252,12 +252,8 @@ $(TARGET_DIR)/etc/hostname: $(TARGET_DIR) .config
|
||||
|
||||
source: $(TARGETS_SOURCE) $(HOST_SOURCE)
|
||||
|
||||
.config.check: dependencies
|
||||
$(SED) '/BR2_WGET/s/\"$$/ --spider\"/g' .config
|
||||
touch $@
|
||||
|
||||
_source-check: .config.check
|
||||
$(MAKE) source
|
||||
_source-check:
|
||||
$(MAKE) SPIDER=--spider source
|
||||
|
||||
#############################################################
|
||||
#
|
||||
|
||||
@@ -12,7 +12,7 @@ MAKE:=$(HOSTMAKE) -j$(BR2_JLEVEL)
|
||||
# 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)))
|
||||
#"))
|
||||
|
||||
Reference in New Issue
Block a user