diff options
author | Richard Purdie <richard@openedhand.com> | 2007-07-23 16:33:20 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-07-23 16:33:20 +0000 |
commit | 75c94643bb584a4b086344309108d16bd208647f (patch) | |
tree | f93d69ecf66f21304850924441204c9f29f930ca | |
parent | c572384a554b8145058f530ebd0b83c3c66badb9 (diff) | |
download | poky-75c94643bb584a4b086344309108d16bd208647f.tar.gz |
mtd-utils: Work with lzo 1.x for now
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2213 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r-- | meta/packages/mtd/mtd-utils/lzo_1x.patch | 26 | ||||
-rw-r--r-- | meta/packages/mtd/mtd-utils_1.0.0+git.bb | 5 |
2 files changed, 29 insertions, 2 deletions
diff --git a/meta/packages/mtd/mtd-utils/lzo_1x.patch b/meta/packages/mtd/mtd-utils/lzo_1x.patch new file mode 100644 index 0000000000..b882d9f504 --- /dev/null +++ b/meta/packages/mtd/mtd-utils/lzo_1x.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | Index: git/Makefile | ||
2 | =================================================================== | ||
3 | --- git.orig/Makefile | ||
4 | +++ git/Makefile | ||
5 | @@ -60,7 +60,7 @@ $(BUILDDIR)/mkfs.jffs2: $(BUILDDIR)/crc3 | ||
6 | $(BUILDDIR)/compr_zlib.o \ | ||
7 | $(BUILDDIR)/compr_lzo.o \ | ||
8 | $(BUILDDIR)/compr.o | ||
9 | - $(CC) $(LDFLAGS) -o $@ $^ -lz -llzo2 | ||
10 | + $(CC) $(LDFLAGS) -o $@ $^ -lz -llzo | ||
11 | |||
12 | $(BUILDDIR)/flash_eraseall: $(BUILDDIR)/crc32.o $(BUILDDIR)/flash_eraseall.o | ||
13 | $(CC) $(LDFLAGS) -o $@ $^ | ||
14 | Index: git/compr_lzo.c | ||
15 | =================================================================== | ||
16 | --- git.orig/compr_lzo.c | ||
17 | +++ git/compr_lzo.c | ||
18 | @@ -26,7 +26,7 @@ | ||
19 | #include <string.h> | ||
20 | #include <asm/types.h> | ||
21 | #include <linux/jffs2.h> | ||
22 | -#include <lzo/lzo1x.h> | ||
23 | +#include <lzo1x.h> | ||
24 | #include "compr.h" | ||
25 | |||
26 | extern int page_size; | ||
diff --git a/meta/packages/mtd/mtd-utils_1.0.0+git.bb b/meta/packages/mtd/mtd-utils_1.0.0+git.bb index b7e242a33f..cfbd38c714 100644 --- a/meta/packages/mtd/mtd-utils_1.0.0+git.bb +++ b/meta/packages/mtd/mtd-utils_1.0.0+git.bb | |||
@@ -3,11 +3,12 @@ SECTION = "base" | |||
3 | DEPENDS = "zlib lzo" | 3 | DEPENDS = "zlib lzo" |
4 | HOMEPAGE = "http://www.linux-mtd.infradead.org/" | 4 | HOMEPAGE = "http://www.linux-mtd.infradead.org/" |
5 | LICENSE = "GPLv2" | 5 | LICENSE = "GPLv2" |
6 | PR = "r3" | 6 | PR = "r4" |
7 | 7 | ||
8 | SRC_URI = "git://git.infradead.org/mtd-utils.git;protocol=git;tag=master \ | 8 | SRC_URI = "git://git.infradead.org/mtd-utils.git;protocol=git;tag=master \ |
9 | file://add-exclusion-to-mkfs-jffs2-git.patch;patch=1 \ | 9 | file://add-exclusion-to-mkfs-jffs2-git.patch;patch=1 \ |
10 | file://fix-ignoreerrors-git.patch;patch=1" | 10 | file://fix-ignoreerrors-git.patch;patch=1 \ |
11 | file://lzo_1x.patch;patch=1" | ||
11 | 12 | ||
12 | S = "${WORKDIR}/git/" | 13 | S = "${WORKDIR}/git/" |
13 | 14 | ||