From 82f09a8b4e214e51c394ed9ff8882d1e736e205b Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 10 Jul 2007 16:03:31 +0100 Subject: Add lzo support to mtd-utils Add LZO support to mtd-utils to generate LZO compressed jffs2 images Unlike the kernel version, the standard lzo userspace library is used along with lzo1x_999_compress rather than the lzo1x_1_compress version since better compression ratios can be obtained (at no significant cost to decompression time). Signed-off-by: Richard Purdie Signed-off-by: Josh Boyer --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 9451daa..d3d9c15 100644 --- a/Makefile +++ b/Makefile @@ -58,8 +58,9 @@ $(BUILDDIR)/mkfs.jffs2: $(BUILDDIR)/crc32.o \ $(BUILDDIR)/compr_rtime.o \ $(BUILDDIR)/mkfs.jffs2.o \ $(BUILDDIR)/compr_zlib.o \ + $(BUILDDIR)/compr_lzo.o \ $(BUILDDIR)/compr.o - $(CC) $(LDFLAGS) -o $@ $^ -lz + $(CC) $(LDFLAGS) -o $@ $^ -lz -llzo $(BUILDDIR)/flash_eraseall: $(BUILDDIR)/crc32.o $(BUILDDIR)/flash_eraseall.o $(CC) $(LDFLAGS) -o $@ $^ -- cgit v1.2.3