]> www.infradead.org Git - mtd-utils.git/commitdiff
lib: fix libcrc32 generation
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Wed, 1 Sep 2010 11:32:55 +0000 (14:32 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Wed, 1 Sep 2010 11:35:19 +0000 (14:35 +0300)
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 <Artem.Bityutskiy@nokia.com>
lib/Makefile

index 621ed633aef4dcff5a565a52c4f6efd3b827f7d6..9de6a7de917274201eab9c380c07f128b325bd86 100644 (file)
@@ -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)