summaryrefslogtreecommitdiff
path: root/recipes/mtd/mtd-utils/lzo_1x.patch
blob: b882d9f5049ddd5143311598c343d71deee56665 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Index: git/Makefile
===================================================================
--- git.orig/Makefile
+++ git/Makefile
@@ -60,7 +60,7 @@ $(BUILDDIR)/mkfs.jffs2: $(BUILDDIR)/crc3
 			$(BUILDDIR)/compr_zlib.o \
 			$(BUILDDIR)/compr_lzo.o \
 			$(BUILDDIR)/compr.o
-	$(CC) $(LDFLAGS) -o $@ $^ -lz -llzo2
+	$(CC) $(LDFLAGS) -o $@ $^ -lz -llzo
 
 $(BUILDDIR)/flash_eraseall: $(BUILDDIR)/crc32.o $(BUILDDIR)/flash_eraseall.o
 	$(CC) $(LDFLAGS) -o $@ $^
Index: git/compr_lzo.c
===================================================================
--- git.orig/compr_lzo.c
+++ git/compr_lzo.c
@@ -26,7 +26,7 @@
 #include <string.h>
 #include <asm/types.h>
 #include <linux/jffs2.h>
-#include <lzo/lzo1x.h>
+#include <lzo1x.h>
 #include "compr.h"
 
 extern int page_size;