From 97f419b809d897b74baad8044de4bfcd47dd4fa9 Mon Sep 17 00:00:00 2001 From: nbd Date: Tue, 20 Jun 2006 23:56:49 +0000 Subject: add target/download git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4030 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/image/image.mk | 1 + target/linux/image/jffs2.mk | 4 ++++ target/linux/image/squashfs.mk | 3 +++ 3 files changed, 8 insertions(+) (limited to 'target/linux/image') diff --git a/target/linux/image/image.mk b/target/linux/image/image.mk index 1c9341dd76..92143d64e8 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 dd5edd01c0..a0e14daa90 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 6890daec68..e01766c0ca 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 -- cgit v1.2.3