secimage: Use libz's crc32 function
This is to trick libreboot into not deleting misc.c when checking
out coreboot.
Change-Id: I8f0bb5cb3eb5681f99c616ae03de126efab852a9
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-on: http://review.coreboot.org/11134
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
diff --git a/util/broadcom/secimage/Makefile b/util/broadcom/secimage/Makefile
index 58f3bc1..9dd1396 100644
--- a/util/broadcom/secimage/Makefile
+++ b/util/broadcom/secimage/Makefile
@@ -17,7 +17,7 @@
RM = rm
CFLAGS += -Wall -g
-LIBS = -lssl -lcrypto
+LIBS = -lssl -lcrypto -lz
%.o : %.c
$(CC) -c $(CFLAGS) -o $@ $<