summaryrefslogtreecommitdiff
path: root/target/linux/image
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/image')
-rw-r--r--target/linux/image/image.mk1
-rw-r--r--target/linux/image/jffs2.mk4
-rw-r--r--target/linux/image/squashfs.mk3
3 files changed, 8 insertions, 0 deletions
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