3 @@ -43,10 +43,15 @@ $(SYMLINKS):
4 ln -sf ../fs/jffs2/$@ $@
6 $(BUILDDIR)/mkfs.jffs2: $(addprefix $(BUILDDIR)/,\
7 - compr_rtime.o mkfs.jffs2.o compr_zlib.o compr_lzo.o \
8 + 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
12 +LDFLAGS_mkfs.jffs2 := $(ZLIBLDFLAGS)
13 +LDLIBS_mkfs.jffs2 := -lz
15 +LDFLAGS_mkfs.jffs2 += $(LZOLDFLAGS)
16 +LDLIBS_mkfs.jffs2 += -llzo2
17 +CPPFLAGS += -DCONFIG_JFFS2_LZO
20 $(BUILDDIR)/jffs2reader: $(BUILDDIR)/jffs2reader.o
21 LDFLAGS_jffs2reader = $(ZLIBLDFLAGS) $(LZOLDFLAGS)