Commit 8a2597ea authored by Eric Andersen's avatar Eric Andersen
Browse files

Make use of wget consistant by using a WGET variable

parent 67402233
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -39,7 +39,7 @@ USE_UCLIBC_TOOLCHAIN:=true
# Enable this to use the uClibc daily snapshot instead of a released
# version.  Daily snapshots may contain new features and bugfixes. Or
# they may not even compile at all, depending on what Erik is doing...
USE_UCLIBC_SNAPSHOT:=false
USE_UCLIBC_SNAPSHOT:=true

# Enable this to use the busybox daily snapshot instead of a released
# version.  Daily snapshots may contain new features and bugfixes. Or
@@ -49,6 +49,9 @@ USE_BUSYBOX_SNAPSHOT:=false
# Enable large file (files > 2 GB) support
BUILD_WITH_LARGEFILE:=false

# Command used to download source code
WGET:=wget --passive-ftp

#############################################################
#
# The list of stuff to build for the target filesystem
+1 −1
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@ BASH_BINARY:=bash
BASH_TARGET_BINARY:=bin/bash

$(DL_DIR)/$(BASH_SOURCE):
	 wget -P $(DL_DIR) $(BASH_SITE)/$(BASH_SOURCE)
	 $(WGET) -P $(DL_DIR) $(BASH_SITE)/$(BASH_SOURCE)

bash-source: $(DL_DIR)/$(BASH_SOURCE)

+1 −1
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@ DB_DIR:=$(BUILD_DIR)/db-4.0.14


$(DL_DIR)/$(DB_SOURCE):
	wget -P $(DL_DIR) --passive-ftp $(DB_SITE)/$(DB_SOURCE)
	$(WGET) -P $(DL_DIR) $(DB_SITE)/$(DB_SOURCE)

db-source: $(DL_DIR)/$(DB_SOURCE)

+1 −1
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@ BOA_DIR=$(BUILD_DIR)/${shell basename $(BOA_SOURCE) .tar.gz}
BOA_WORKDIR=$(BUILD_DIR)/boa_workdir

$(DL_DIR)/$(BOA_SOURCE):
	wget -P $(DL_DIR) $(BOA_SITE)/$(BOA_SOURCE)
	$(WGET) -P $(DL_DIR) $(BOA_SITE)/$(BOA_SOURCE)

$(BOA_DIR)/.unpacked:	$(DL_DIR)/$(BOA_SOURCE)
	gzip -d -c $(DL_DIR)/$(BOA_SOURCE) | tar -C $(BUILD_DIR) -xvf -
+1 −1
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@ BUSYBOX_PATCH:=$(SOURCE_DIR)/busybox.patch
endif

$(DL_DIR)/$(BUSYBOX_SOURCE):
	 wget -P $(DL_DIR) --passive-ftp $(BUSYBOX_SITE)/$(BUSYBOX_SOURCE)
	 $(WGET) -P $(DL_DIR) $(BUSYBOX_SITE)/$(BUSYBOX_SOURCE)

busybox-source: $(DL_DIR)/$(BUSYBOX_SOURCE) $(BUSYBOX_PATCH)

Loading