summaryrefslogtreecommitdiffstats
path: root/target/squashfs-lzma/Makefile
diff options
context:
space:
mode:
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-03-06 03:34:52 +0000
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-03-06 03:34:52 +0000
commitf77b88d124ea1c900f9cf5e04046939aad48bbe1 (patch)
tree4c6922d42353c39b46dcd7cd09982fbe9c1f9765 /target/squashfs-lzma/Makefile
parent7d3d15851a890855f0a752304fa50e5d8e927222 (diff)
nbd's makefile/menuconfig rewrite
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@307 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/squashfs-lzma/Makefile')
-rw-r--r--target/squashfs-lzma/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/target/squashfs-lzma/Makefile b/target/squashfs-lzma/Makefile
new file mode 100644
index 000000000..6c709952e
--- /dev/null
+++ b/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
+