summaryrefslogtreecommitdiff
path: root/openwrt/target/linux
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-06-20 23:56:49 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-06-20 23:56:49 +0000
commit991cba3cc9b6ebc5c06e39b4b12766452b3e0946 (patch)
tree27a11c8f0c6ac2a3084c0907928b66922e0e6f85 /openwrt/target/linux
parent96930ce1ee4e0743700f57151e997e379134777c (diff)
downloadmtk-20170518-991cba3cc9b6ebc5c06e39b4b12766452b3e0946.zip
mtk-20170518-991cba3cc9b6ebc5c06e39b4b12766452b3e0946.tar.gz
mtk-20170518-991cba3cc9b6ebc5c06e39b4b12766452b3e0946.tar.bz2
add target/download
SVN-Revision: 4030
Diffstat (limited to 'openwrt/target/linux')
-rw-r--r--openwrt/target/linux/Makefile4
-rw-r--r--openwrt/target/linux/ar7-2.4/Makefile1
-rw-r--r--openwrt/target/linux/image/image.mk1
-rw-r--r--openwrt/target/linux/image/jffs2.mk4
-rw-r--r--openwrt/target/linux/image/squashfs.mk3
5 files changed, 13 insertions, 0 deletions
diff --git a/openwrt/target/linux/Makefile b/openwrt/target/linux/Makefile
index c08bb4c..2caee31 100644
--- a/openwrt/target/linux/Makefile
+++ b/openwrt/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/openwrt/target/linux/ar7-2.4/Makefile b/openwrt/target/linux/ar7-2.4/Makefile
index 7775e88..20ad352 100644
--- a/openwrt/target/linux/ar7-2.4/Makefile
+++ b/openwrt/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/openwrt/target/linux/image/image.mk b/openwrt/target/linux/image/image.mk
index 1c9341d..92143d6 100644
--- a/openwrt/target/linux/image/image.mk
+++ b/openwrt/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/openwrt/target/linux/image/jffs2.mk b/openwrt/target/linux/image/jffs2.mk
index dd5edd0..a0e14da 100644
--- a/openwrt/target/linux/image/jffs2.mk
+++ b/openwrt/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/openwrt/target/linux/image/squashfs.mk b/openwrt/target/linux/image/squashfs.mk
index 6890dae..e01766c 100644
--- a/openwrt/target/linux/image/squashfs.mk
+++ b/openwrt/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