aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-10-02 10:18:34 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-10-02 10:18:34 +0000
commitf70671c153b8c9383060aa245882ee3f05840fda (patch)
treeecf9ee0bef5a588b7bcfd7d2ac329b98fabc1ce8
parentcb4c39b55dfbe8c2fd77be6ebe2a4a8eea96e1be (diff)
downloadupstream-f70671c153b8c9383060aa245882ee3f05840fda.tar.gz
upstream-f70671c153b8c9383060aa245882ee3f05840fda.tar.bz2
upstream-f70671c153b8c9383060aa245882ee3f05840fda.zip
tools/mtd-utils: fix compilation on OS X
SVN-Revision: 23176
-rw-r--r--tools/mtd-utils/patches/131-fix_lib_compile.patch20
1 files changed, 10 insertions, 10 deletions
diff --git a/tools/mtd-utils/patches/131-fix_lib_compile.patch b/tools/mtd-utils/patches/131-fix_lib_compile.patch
index f40a5b6c56..fef1333177 100644
--- a/tools/mtd-utils/patches/131-fix_lib_compile.patch
+++ b/tools/mtd-utils/patches/131-fix_lib_compile.patch
@@ -1,11 +1,11 @@
---- a/Makefile
-+++ b/Makefile
-@@ -68,8 +68,6 @@ $(BUILDDIR)/jffs2reader: $(BUILDDIR)/jff
- LDFLAGS_jffs2reader = $(ZLIBLDFLAGS) $(LZOLDFLAGS)
- LDLIBS_jffs2reader = -lz -llzo2
+--- a/lib/Makefile
++++ b/lib/Makefile
+@@ -7,7 +7,7 @@ SUBDIRS =
+ # CFLAGS += -Werror
+ CPPFLAGS += -I../include
+ LIBS = libmtd libcrc32
+-TARGETS = libmtd.a libcrc32.a
++override TARGETS = libmtd.a libcrc32.a
+
+ include ../common.mk
--$(BUILDDIR)/lib/libmtd.a: subdirs_lib_all ;
--
- install:: ${TARGETS} ${SCRIPTS}
- mkdir -p ${DESTDIR}/${SBINDIR}
- install -m 0755 ${TARGETS} ${SCRIPTS} ${DESTDIR}/${SBINDIR}/