diff options
Diffstat (limited to 'target/linux/image/squashfs.mk')
-rw-r--r-- | target/linux/image/squashfs.mk | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/target/linux/image/squashfs.mk b/target/linux/image/squashfs.mk new file mode 100644 index 0000000000..e9a95de560 --- /dev/null +++ b/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" + |