diff options
Diffstat (limited to 'openwrt/target/squashfs-lzma/Makefile')
-rw-r--r-- | openwrt/target/squashfs-lzma/Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/openwrt/target/squashfs-lzma/Makefile b/openwrt/target/squashfs-lzma/Makefile new file mode 100644 index 0000000000..6c709952e4 --- /dev/null +++ b/openwrt/target/squashfs-lzma/Makefile @@ -0,0 +1,16 @@ +include $(TOPDIR)/rules.mk +include ./squashfslzmaroot.mk + +TARGETS:=$(BIN_DIR)/openwrt-generic-squashfs.trx + +prepare: $(SQUASHFSLZMA_DIR)/.unpacked +compile: squashfslzma +install: $(TARGETS) +clean: squashfslzmaroot-dirclean + +$(BIN_DIR)/openwrt-generic-squashfs.trx: + @mkdir -p $(TARGET_DIR)/jffs + $(SQUASHFSLZMA_DIR)/squashfs-tools/mksquashfs-lzma $(TARGET_DIR) $(IMAGE).squashfslzma -noappend -root-owned -le + PATH=$(TARGET_PATH) trx -o $@ \ + $(LINUX_KERNEL) $(IMAGE).squashfslzma + |