From 0a28aa018879ac7dfcf09710f8651100da8fbbf4 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/openwrt@303 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/squashfs-lzma/squashfslzmaroot.mk | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'target/squashfs-lzma') diff --git a/target/squashfs-lzma/squashfslzmaroot.mk b/target/squashfs-lzma/squashfslzmaroot.mk index 722c20524..1aa80e002 100644 --- a/target/squashfs-lzma/squashfslzmaroot.mk +++ b/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