Update to work with recent lzo changes

This commit is contained in:
Hamish Moffatt 2008-08-26 00:41:29 +00:00
parent 1fff6d9d3d
commit dea9f75b85
2 changed files with 0 additions and 24 deletions

View File

@ -1,10 +0,0 @@
diff -urN mtd-utils-1.1.0-0rig/Makefile mtd-utils-1.1.0/Makefile
--- mtd-utils-1.1.0-0rig/Makefile 2007-08-03 15:55:51.000000000 +0200
+++ mtd-utils-1.1.0/Makefile 2007-09-27 08:20:55.000000000 +0200
@@ -63,7 +63,7 @@
$(BUILDDIR)/compr_lzo.o \
$(BUILDDIR)/compr.o \
$(BUILDDIR)/rbtree.o
- $(CC) $(LDFLAGS) -o $@ $^ -lz -llzo2
+ $(CC) $(LDFLAGS) -o $@ $^ -lz -llzo

View File

@ -1,14 +0,0 @@
diff -urN mtd-utils-1.1.0-0rig/compr_lzo.c mtd-utils-1.1.0/compr_lzo.c
--- mtd-utils-1.1.0-0rig/compr_lzo.c 2007-08-03 15:55:51.000000000 +0200
+++ mtd-utils-1.1.0/compr_lzo.c 2007-09-27 08:18:05.000000000 +0200
@@ -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;
$(BUILDDIR)/flash_eraseall: $(BUILDDIR)/crc32.o $(BUILDDIR)/flash_eraseall.o
$(CC) $(LDFLAGS) -o $@ $^