|
@@ -24,6 +24,8 @@ MUSL_REPO = git://git.musl-libc.org/musl
|
|
|
|
|
|
LINUX_SITE = https://cdn.kernel.org/pub/linux/kernel
|
|
|
|
|
|
+DL_CMD = wget -c -O
|
|
|
+
|
|
|
BUILD_DIR = build-$(TARGET)
|
|
|
|
|
|
-include config.mak
|
|
@@ -65,7 +67,7 @@ $(SOURCES):
|
|
|
|
|
|
$(SOURCES)/config.sub: | $(SOURCES)
|
|
|
mkdir -p $@.tmp
|
|
|
- cd $@.tmp && wget -c -O $(notdir $@) "http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=$(CONFIG_SUB_REV)"
|
|
|
+ cd $@.tmp && $(DL_CMD) $(notdir $@) "http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=$(CONFIG_SUB_REV)"
|
|
|
cd $@.tmp && touch $(notdir $@)
|
|
|
cd $@.tmp && sha1sum -c $(CURDIR)/hashes/$(notdir $@).$(CONFIG_SUB_REV).sha1
|
|
|
mv $@.tmp/$(notdir $@) $@
|
|
@@ -73,7 +75,7 @@ $(SOURCES)/config.sub: | $(SOURCES)
|
|
|
|
|
|
$(SOURCES)/%: hashes/%.sha1 | $(SOURCES)
|
|
|
mkdir -p $@.tmp
|
|
|
- cd $@.tmp && wget -c -O $(notdir $@) $(SITE)/$(notdir $@)
|
|
|
+ cd $@.tmp && $(DL_CMD) $(notdir $@) $(SITE)/$(notdir $@)
|
|
|
cd $@.tmp && touch $(notdir $@)
|
|
|
cd $@.tmp && sha1sum -c $(CURDIR)/hashes/$(notdir $@).sha1
|
|
|
mv $@.tmp/$(notdir $@) $@
|