X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/f55c08db991c8d530fee53c06a51a84c9348bf57..2bd31a667683983c69d6a5fde1d71a19f1c20a08:/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 f40a5b6c5..fef133317 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}/