tools/mtd-utils: fix compilation on OS X

SVN-Revision: 23176
lede-17.01
Jo-Philipp Wich 2010-10-02 10:18:34 +00:00
parent cb4c39b55d
commit f70671c153
1 changed files with 10 additions and 10 deletions

View File

@ -1,11 +1,11 @@
--- a/Makefile --- a/lib/Makefile
+++ b/Makefile +++ b/lib/Makefile
@@ -68,8 +68,6 @@ $(BUILDDIR)/jffs2reader: $(BUILDDIR)/jff @@ -7,7 +7,7 @@ SUBDIRS =
LDFLAGS_jffs2reader = $(ZLIBLDFLAGS) $(LZOLDFLAGS) # CFLAGS += -Werror
LDLIBS_jffs2reader = -lz -llzo2 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}/