From: Artem Bityutskiy Date: Wed, 1 Sep 2010 11:32:55 +0000 (+0300) Subject: lib: fix libcrc32 generation X-Git-Tag: v1.4.0~6 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=3a6558e1e715c6a2742d046495d8b7b62afdbe68;p=mtd-utils.git lib: fix libcrc32 generation libcrc32.a was generated without external symbols: nm -g libcrc32.a shoed nothing. This patch fixes it to make libcrc32.a build to be the same as libmtd.a. Frankly, I do not know why this happened and why this patch fixes the issue, sorry for my ignorance. But this works. Signed-off-by: Artem Bityutskiy --- diff --git a/lib/Makefile b/lib/Makefile index 621ed63..9de6a7d 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -11,6 +11,7 @@ TARGETS = libmtd.a libcrc32.a include ../common.mk +$(BUILDDIR)/libcrc32.a: $(addprefix $(BUILDDIR)/, libcrc32.o) $(BUILDDIR)/libmtd.a: $(addprefix $(BUILDDIR)/,\ libmtd.o libmtd_legacy.o libcrc32.o libfec.o)