X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/06af6d80610febe23ffcf0f5b1c77db732f936ff..8948cb281481af6bab794ce8f553dec1597a1b06:/tools/mtd-utils/patches/131-fix_lib_compile.patch diff --git a/tools/mtd-utils/patches/131-fix_lib_compile.patch b/tools/mtd-utils/patches/131-fix_lib_compile.patch index 288e0d45e..8c977c177 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 -@@ -67,8 +67,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} - mkdir -p ${DESTDIR}/${SBINDIR} - install -m 0755 ${TARGETS} ${DESTDIR}/${SBINDIR}/