summaryrefslogtreecommitdiff
path: root/openwrt/target/linux/image/squashfs.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-06-11 21:18:26 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-06-11 21:18:26 +0000
commit4c659f618c83aa8ef850cf24e6f240e0aeb0f598 (patch)
tree8813ca5ad209754da7f4b71014c7a131ee200196 /openwrt/target/linux/image/squashfs.mk
parentc90793463c2602b951b71d629a6530bab2be50d0 (diff)
downloadmtk-20170518-4c659f618c83aa8ef850cf24e6f240e0aeb0f598.zip
mtk-20170518-4c659f618c83aa8ef850cf24e6f240e0aeb0f598.tar.gz
mtk-20170518-4c659f618c83aa8ef850cf24e6f240e0aeb0f598.tar.bz2
cleanup in target/
SVN-Revision: 1205
Diffstat (limited to 'openwrt/target/linux/image/squashfs.mk')
-rw-r--r--openwrt/target/linux/image/squashfs.mk19
1 files changed, 19 insertions, 0 deletions
diff --git a/openwrt/target/linux/image/squashfs.mk b/openwrt/target/linux/image/squashfs.mk
new file mode 100644
index 0000000..e9a95de
--- /dev/null
+++ b/openwrt/target/linux/image/squashfs.mk
@@ -0,0 +1,19 @@
+squashfs-prepare:
+ $(MAKE) -C squashfs prepare
+
+squashfs-compile:
+ $(MAKE) -C squashfs compile
+
+squashfs-clean:
+ $(MAKE) -C squashfs clean
+ rm -f $(KDIR)/root.squashfs
+
+$(KDIR)/root.squashfs:
+ @mkdir -p $(KDIR)/root/jffs
+ $(STAGING_DIR)/bin/mksquashfs-lzma $(KDIR)/root $@ -noappend -root-owned -le
+
+prepare: squashfs-prepare
+compile: squashfs-compile
+install: $(KDIR)/root.squashfs
+ $(MAKE) -C $(BOARD) install KERNEL="$(KERNEL)" FS="squashfs"
+