aboutsummaryrefslogtreecommitdiffstats
path: root/tools/mtd-utils/patches/131-fix_lib_compile.patch
diff options
context:
space:
mode:
authorAlexandros C. Couloumbis <alex@ozo.com>2010-10-01 16:39:08 +0000
committerAlexandros C. Couloumbis <alex@ozo.com>2010-10-01 16:39:08 +0000
commit930031c5d10ce5c4e15979ee0547eb2399709bc7 (patch)
tree42aae04dff446edc875829bc04f650da6211b7a6 /tools/mtd-utils/patches/131-fix_lib_compile.patch
parent42a49519f011d2531099fc68ce764c82c4dd84c8 (diff)
downloadupstream-930031c5d10ce5c4e15979ee0547eb2399709bc7.tar.gz
upstream-930031c5d10ce5c4e15979ee0547eb2399709bc7.tar.bz2
upstream-930031c5d10ce5c4e15979ee0547eb2399709bc7.zip
tools/mtd-utils: update to mtd-utils-20101001, fix FreeBSD (and hopefully Darwin) build issues.
SVN-Revision: 23169
Diffstat (limited to 'tools/mtd-utils/patches/131-fix_lib_compile.patch')
-rw-r--r--tools/mtd-utils/patches/131-fix_lib_compile.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/mtd-utils/patches/131-fix_lib_compile.patch b/tools/mtd-utils/patches/131-fix_lib_compile.patch
new file mode 100644
index 0000000000..f40a5b6c56
--- /dev/null
+++ b/tools/mtd-utils/patches/131-fix_lib_compile.patch
@@ -0,0 +1,11 @@
+--- a/Makefile
++++ b/Makefile
+@@ -68,8 +68,6 @@ $(BUILDDIR)/jffs2reader: $(BUILDDIR)/jff
+ LDFLAGS_jffs2reader = $(ZLIBLDFLAGS) $(LZOLDFLAGS)
+ LDLIBS_jffs2reader = -lz -llzo2
+
+-$(BUILDDIR)/lib/libmtd.a: subdirs_lib_all ;
+-
+ install:: ${TARGETS} ${SCRIPTS}
+ mkdir -p ${DESTDIR}/${SBINDIR}
+ install -m 0755 ${TARGETS} ${SCRIPTS} ${DESTDIR}/${SBINDIR}/