mirror of
https://git.yoctoproject.org/poky
synced 2026-03-19 13:49:41 +01:00
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
This commit is contained in:
26
meta/packages/mtd/mtd-utils/lzo_1x.patch
Normal file
26
meta/packages/mtd/mtd-utils/lzo_1x.patch
Normal file
@@ -0,0 +1,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;
|
||||
@@ -3,11 +3,12 @@ SECTION = "base"
|
||||
DEPENDS = "zlib lzo"
|
||||
HOMEPAGE = "http://www.linux-mtd.infradead.org/"
|
||||
LICENSE = "GPLv2"
|
||||
PR = "r3"
|
||||
PR = "r4"
|
||||
|
||||
SRC_URI = "git://git.infradead.org/mtd-utils.git;protocol=git;tag=master \
|
||||
file://add-exclusion-to-mkfs-jffs2-git.patch;patch=1 \
|
||||
file://fix-ignoreerrors-git.patch;patch=1"
|
||||
file://fix-ignoreerrors-git.patch;patch=1 \
|
||||
file://lzo_1x.patch;patch=1"
|
||||
|
||||
S = "${WORKDIR}/git/"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user