3 @@ -36,10 +36,16 @@ $(SYMLINKS):
4 ln -sf ../fs/jffs2/$@ $@
6 $(BUILDDIR)/mkfs.jffs2: $(addprefix $(BUILDDIR)/,\
7 - crc32.o compr_rtime.o mkfs.jffs2.o compr_zlib.o compr_lzo.o \
8 + crc32.o compr_rtime.o mkfs.jffs2.o compr_zlib.o $(if $(NO_LZO),,compr_lzo.o) \
10 -LDFLAGS_mkfs.jffs2 = $(ZLIBLDFLAGS) $(LZOLDFLAGS)
11 -LDLIBS_mkfs.jffs2 = -lz -llzo2
13 +LDFLAGS_mkfs.jffs2 := $(ZLIBLDFLAGS)
14 +LDLIBS_mkfs.jffs2 := -lz
16 +LDFLAGS_mkfs.jffs2 += $(LZOLDFLAGS)
17 +LDLIBS_mkfs.jffs2 += -llzo2
18 +CPPFLAGS += -DCONFIG_JFFS2_LZO
21 $(BUILDDIR)/flash_eraseall: $(BUILDDIR)/crc32.o $(BUILDDIR)/flash_eraseall.o
27 #define CONFIG_JFFS2_ZLIB
28 #define CONFIG_JFFS2_RTIME
29 -#define CONFIG_JFFS2_LZO
31 #define JFFS2_RUBINMIPS_PRIORITY 10
32 #define JFFS2_DYNRUBIN_PRIORITY 20