mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-25 08:13:20 +02:00
tools/mtd-utils: fix compilation on OS X
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23176 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
bcb57ac2ea
commit
4abcb03951
@ -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}/
|
|
||||||
|
Loading…
Reference in New Issue
Block a user