From 22ba317f5174d231be82f368381216404d4032f3 Mon Sep 17 00:00:00 2001 From: mbm Date: Fri, 4 Mar 2005 04:35:15 +0000 Subject: fix the jffs2 build for separate 4M/8M images git-svn-id: svn://svn.openwrt.org/openwrt/trunk@303 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- openwrt/target/squashfs-lzma/squashfslzmaroot.mk | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'openwrt/target/squashfs-lzma') diff --git a/openwrt/target/squashfs-lzma/squashfslzmaroot.mk b/openwrt/target/squashfs-lzma/squashfslzmaroot.mk index 722c20524e..1aa80e0029 100644 --- a/openwrt/target/squashfs-lzma/squashfslzmaroot.mk +++ b/openwrt/target/squashfs-lzma/squashfslzmaroot.mk @@ -39,7 +39,8 @@ squashfslzma-dirclean: squashfslzmaroot: squashfslzma @rm -rf $(TARGET_DIR)/usr/man @rm -rf $(TARGET_DIR)/usr/info - $(SQUASHFSLZMA_DIR)/squashfs-tools/mksquashfs-lzma $(TARGET_DIR) $(IMAGE).squashfslzma -noappend -root-owned -le + $(SQUASHFSLZMA_DIR)/squashfs-tools/mksquashfs-lzma \ + $(TARGET_DIR) $(IMAGE).squashfslzma -noappend -root-owned -le squashfslzmaroot-source: squashfslzma-source @@ -52,4 +53,10 @@ squashfslzmaroot-dirclean: ifeq ($(strip $(BR2_TARGET_ROOTFS_SQUASHFS_LZMA)),y) TARGETS+=squashfslzmaroot openwrt-image ROOTFS=squashfslzma + +openwrt-image: openwrt + @make openwrt-code.bin TAG=W54G \ + EXTRAVERSION=$(EXTRAVERSION)-SQUASHFSLZMA + @make openwrt-code.bin TAG=W54S \ + EXTRAVERSION=$(EXTRAVERSION)-SQUASHFSLZMA endif -- cgit v1.2.3