diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-06-20 23:56:49 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-06-20 23:56:49 +0000 |
commit | 97f419b809d897b74baad8044de4bfcd47dd4fa9 (patch) | |
tree | d7b1c1c038999f6836cd7e7f9a582f77663f63dd /target/linux | |
parent | 14ace0ca9421f763feed4b72ddb7482aef20663d (diff) |
add target/download
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4030 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/Makefile | 4 | ||||
-rw-r--r-- | target/linux/ar7-2.4/Makefile | 1 | ||||
-rw-r--r-- | target/linux/image/image.mk | 1 | ||||
-rw-r--r-- | target/linux/image/jffs2.mk | 4 | ||||
-rw-r--r-- | target/linux/image/squashfs.mk | 3 |
5 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/Makefile b/target/linux/Makefile index c08bb4c89..2caee31b3 100644 --- a/target/linux/Makefile +++ b/target/linux/Makefile @@ -25,6 +25,10 @@ $(eval $(call kernel_template,2.6,sibyte,2_6_SIBYTE)) export BOARD export KERNEL +source: + $(MAKE) -C $(BOARD)-$(KERNEL) source + $(MAKE) -C image/$(BOARD) source + prepare: $(MAKE) -C $(BOARD)-$(KERNEL) prepare diff --git a/target/linux/ar7-2.4/Makefile b/target/linux/ar7-2.4/Makefile index 7775e8888..20ad3523a 100644 --- a/target/linux/ar7-2.4/Makefile +++ b/target/linux/ar7-2.4/Makefile @@ -49,6 +49,7 @@ ATM_FIRMWARE_MD5SUM=8bfcb31109796502d66b11baaeb2fba6 $(DL_DIR)/$(ATM_FIRMWARE_FILE): $(SCRIPT_DIR)/download.pl $(DL_DIR) $(ATM_FIRMWARE_FILE) $(ATM_FIRMWARE_MD5SUM) $(DOWNLOAD_SITE) +source: $(DL_DIR)/$(ATM_FIRMWARE_FILE) $(LINUX_DIR)/.unpacked: $(DL_DIR)/$(ATM_FIRMWARE_FILE) $(LINUX_DIR)/.depend_done: $(LINUX_DIR)/.drivers-unpacked $(LINUX_DIR)/.modules_done: $(LINUX_DIR)/.drivers-unpacked diff --git a/target/linux/image/image.mk b/target/linux/image/image.mk index 1c9341dd7..92143d64e 100644 --- a/target/linux/image/image.mk +++ b/target/linux/image/image.mk @@ -48,6 +48,7 @@ compile-targets: install-targets: clean-targets: +source: prepare: compile: compile-targets install: compile install-targets diff --git a/target/linux/image/jffs2.mk b/target/linux/image/jffs2.mk index dd5edd01c..a0e14daa9 100644 --- a/target/linux/image/jffs2.mk +++ b/target/linux/image/jffs2.mk @@ -14,6 +14,9 @@ define Image/mkfs/jffs2 $(call Image/Build,jffs2-128k) endef +jffs2-source: FORCE + $(MAKE) -C $(TOPDIR)/target/linux/image/jffs2 source + $(STAGING_DIR)/bin/mkfs.jffs2: $(MAKE) -C $(TOPDIR)/target/linux/image/jffs2 compile @@ -21,6 +24,7 @@ jffs2-clean: FORCE $(MAKE) -C $(TOPDIR)/target/linux/image/jffs2 clean rm -f $(KDIR)/root.jffs2* +source: jffs2-source compile-targets: $(STAGING_DIR)/bin/mkfs.jffs2 clean-targets: jffs2-clean diff --git a/target/linux/image/squashfs.mk b/target/linux/image/squashfs.mk index 6890daec6..e01766c0c 100644 --- a/target/linux/image/squashfs.mk +++ b/target/linux/image/squashfs.mk @@ -4,6 +4,9 @@ else ENDIAN := be endif +squashfs-source: FORCE + $(MAKE) -C $(TOPDIR)/target/linux/image/squashfs source + $(STAGING_DIR)/bin/mksquashfs-lzma: $(MAKE) -C $(TOPDIR)/target/linux/image/squashfs compile |