packages/utils/mtd-utils/patches/131-fix_lib_compile.patch
juhosg b797a23e77 package/mtd-utils: update to 1.4.5
This updates packages/utils/mtd-utils and includes all patches from
tools/mtd-utils, so the two may eventually be merged.
I also added 150-fix_ubi-utils_static.patch which is a hack needed
to include libcrc32.o in the static binaries.
Having them static makes sense as only ubiformat is required on the target.

[juhosg:
- add build-time dependency on util-linux
- allow to specify dependency for each subpackage
- update ubifs optional lzo patch
- add more patches]

Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@31913 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 16:40:32 +00:00

12 lines
201 B
Diff

--- 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