summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2006-07-20 17:28:05 +0000
committerMike Baker <mbm@openwrt.org>2006-07-20 17:28:05 +0000
commit8a2dfc8555e9c365320f2935fd0ec6387267814e (patch)
treef18351ba0b90ba5f9c155ff80bf651f01f2a1532
parent9fa56236f674d3d9b07ffc05edc3464cd179a9ae (diff)
downloadmtk-20170518-8a2dfc8555e9c365320f2935fd0ec6387267814e.zip
mtk-20170518-8a2dfc8555e9c365320f2935fd0ec6387267814e.tar.gz
mtk-20170518-8a2dfc8555e9c365320f2935fd0ec6387267814e.tar.bz2
change 'source' to 'download'
SVN-Revision: 4176
-rw-r--r--openwrt/include/package.mk4
-rw-r--r--openwrt/package/Makefile6
-rw-r--r--openwrt/target/Makefile6
-rw-r--r--openwrt/toolchain/Makefile6
4 files changed, 11 insertions, 11 deletions
diff --git a/openwrt/include/package.mk b/openwrt/include/package.mk
index ce07640..38fd93d 100644
--- a/openwrt/include/package.mk
+++ b/openwrt/include/package.mk
@@ -294,7 +294,7 @@ else
mkdir -p $@
ifneq ($(strip $(PKG_SOURCE)),)
- source: $(DL_DIR)/$(PKG_SOURCE)
+ download: $(DL_DIR)/$(PKG_SOURCE)
$(DL_DIR)/$(PKG_SOURCE):
mkdir -p $(DL_DIR)
@@ -303,7 +303,7 @@ else
$(PKG_BUILD_DIR)/.prepared: $(DL_DIR)/$(PKG_SOURCE)
endif
- source:
+ download:
prepare: $(PKG_BUILD_DIR)/.prepared
configure: $(PKG_BUILD_DIR)/.configured
diff --git a/openwrt/package/Makefile b/openwrt/package/Makefile
index 4b924a3..bcfb169 100644
--- a/openwrt/package/Makefile
+++ b/openwrt/package/Makefile
@@ -3,15 +3,15 @@ include $(TOPDIR)/rules.mk
include $(TOPDIR)/.config
include $(TOPDIR)/.pkgdeps
-SOURCE_PACKAGES:=$(patsubst %,%-source,$(package-y) $(package-m))
+SOURCE_PACKAGES:=$(patsubst %,%-download,$(package-y) $(package-m))
COMPILE_PACKAGES:=$(patsubst %,%-compile,$(package-y) $(package-m))
INSTALL_PACKAGES:=$(patsubst %,%-install,$(package-y))
$(STAMP_DIR) $(TARGET_DIR):
mkdir -p $@
-%-source: $(STAMP_DIR) $(TARGET_DIR)
- $(MAKE) -C $(patsubst %-source,%,$@) source MAKEFLAGS="$(BUILD_MAKEFLAGS)"
+%-download: $(STAMP_DIR) $(TARGET_DIR)
+ $(MAKE) -C $(patsubst %-download,%,$@) download MAKEFLAGS="$(BUILD_MAKEFLAGS)"
%-prepare: $(STAMP_DIR) $(TARGET_DIR)
$(MAKE) -C $(patsubst %-prepare,%,$@) prepare MAKEFLAGS="$(BUILD_MAKEFLAGS)"
diff --git a/openwrt/target/Makefile b/openwrt/target/Makefile
index 2c18611..195878e 100644
--- a/openwrt/target/Makefile
+++ b/openwrt/target/Makefile
@@ -20,7 +20,7 @@ linux-install: $(BIN_DIR)
sdk-compile: linux-install
image_install: linux-install
-download: $(patsubst %,%-source,$(TARGETS-y))
+download: $(patsubst %,%-download,$(TARGETS-y))
prepare: linux-prepare
compile: linux-compile image_compile
install: image_clean $(patsubst %,%-install,$(TARGETS-y)) image_install
@@ -38,8 +38,8 @@ image_install: image_compile
%-clean: FORCE
$(MAKE) -C $(patsubst %-clean,%,$@) clean
-%-source: FORCE
- $(MAKE) -C $(patsubst %-source,%,$@) source
+%-download: FORCE
+ $(MAKE) -C $(patsubst %-download,%,$@) download
%-prepare: FORCE
$(MAKE) -C $(patsubst %-prepare,%,$@) prepare
%-compile: %-prepare
diff --git a/openwrt/toolchain/Makefile b/openwrt/toolchain/Makefile
index 043a119..4ffc46f 100644
--- a/openwrt/toolchain/Makefile
+++ b/openwrt/toolchain/Makefile
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
TARGETS-y:=sed kernel-headers sstrip binutils gcc uClibc ipkg-utils libnotimpl squashfs jffs2 lzma
TARGETS-$(CONFIG_GDB) += gdb
-TARGETS_DOWNLOAD:=$(patsubst %,%-source,$(TARGETS-y))
+TARGETS_DOWNLOAD:=$(patsubst %,%-download,$(TARGETS-y))
TARGETS_INSTALL:=$(patsubst %,%-install,$(TARGETS-y))
TARGETS_CLEAN:=$(patsubst %,%-clean,$(TARGETS-y))
@@ -41,8 +41,8 @@ $(STAGING_DIR):
$(TOOL_BUILD_DIR):
@mkdir -p $@
-%-source: FORCE
- $(MAKE) -C $(patsubst %-source,%,$@) source
+%-download: FORCE
+ $(MAKE) -C $(patsubst %-download,%,$@) download
%-prepare: $(TOOLCHAIN_STAMP_DIR) $(STAGING_DIR) $(TOOL_BUILD_DIR) FORCE
@[ -f $(TOOLCHAIN_STAMP_DIR)/.toolchain_$@ ] || { \