summaryrefslogtreecommitdiff
path: root/tools/mtd-utils/patches/131-fix_lib_compile.patch
diff options
context:
space:
mode:
authoracoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-09-13 07:39:44 +0000
committeracoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-09-13 07:39:44 +0000
commit06af6d80610febe23ffcf0f5b1c77db732f936ff (patch)
treed57098c8682e86d81c181b43335827d1dd7ff5db /tools/mtd-utils/patches/131-fix_lib_compile.patch
parent11a5ee608d8050f08bb02671193f215483678919 (diff)
tools/mtd-utils: update to version git-20100912
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23048 3c298f89-4303-0410-b956-a3cf2f4a3e73
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..288e0d45e0
--- /dev/null
+++ b/tools/mtd-utils/patches/131-fix_lib_compile.patch
@@ -0,0 +1,11 @@
+--- a/Makefile
++++ b/Makefile
+@@ -67,8 +67,6 @@ $(BUILDDIR)/jffs2reader: $(BUILDDIR)/jff
+ LDFLAGS_jffs2reader = $(ZLIBLDFLAGS) $(LZOLDFLAGS)
+ LDLIBS_jffs2reader = -lz -llzo2
+
+-$(BUILDDIR)/lib/libmtd.a: subdirs_lib_all ;
+-
+ install:: ${TARGETS}
+ mkdir -p ${DESTDIR}/${SBINDIR}
+ install -m 0755 ${TARGETS} ${DESTDIR}/${SBINDIR}/