[orion] generic: use magic_long in sysupgrade
[openwrt.git] / tools / mtd-utils / patches / 131-fix_lib_compile.patch
index f40a5b6..8c977c1 100644 (file)
@@ -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
+-TARGETS = libmtd.a
++override TARGETS = libmtd.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}/
This page took 0.023471 seconds and 4 git commands to generate.