change 'source' to 'download'
authorMike Baker <mbm@openwrt.org>
Thu, 20 Jul 2006 17:28:05 +0000 (17:28 +0000)
committerMike Baker <mbm@openwrt.org>
Thu, 20 Jul 2006 17:28:05 +0000 (17:28 +0000)
SVN-Revision: 4176

openwrt/include/package.mk
openwrt/package/Makefile
openwrt/target/Makefile
openwrt/toolchain/Makefile

index ce07640eeda5d47573a34d4034669a41accbb044..38fd93df73355d5c6331260f325be19458889b62 100644 (file)
@@ -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
 
index 4b924a390c0192ecd5a01443b54e449fb2f7f962..bcfb1699b534812fe7ee934abda72270e29faf50 100644 (file)
@@ -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)"
index 2c1861193129c2ea1022908ac39dc70d890814e1..195878e6654d0e4c8fd35f50ceb14b07873c9891 100644 (file)
@@ -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
index 043a119b151b57fbd56e3064eea6b21e43756db3..4ffc46fb3462089e81cf9ae26e6c761d43398a28 100644 (file)
@@ -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_$@ ] || { \