From 1db856d08aecdb3a5fb76ddee7918afc1964b395 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Thu, 30 Jul 2015 16:26:00 -0700 Subject: [PATCH] secimage: Don't link in gmp library secimage does not use libgmp, so don't link it in. (Otherwise linking fails if the library is not installed) Change-Id: I24af21c7754ecd0109f3e86669fa34fa6991d7fe Signed-off-by: Stefan Reinauer Reviewed-on: http://review.coreboot.org/11079 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- util/broadcom/secimage/Makefile | 2 +- util/broadcom/secimage/Makefile.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/util/broadcom/secimage/Makefile b/util/broadcom/secimage/Makefile index 8d050fed98..58f3bc182c 100644 --- a/util/broadcom/secimage/Makefile +++ b/util/broadcom/secimage/Makefile @@ -17,7 +17,7 @@ CC = gcc RM = rm CFLAGS += -Wall -g -LIBS = -lgmp -lssl -lcrypto +LIBS = -lssl -lcrypto %.o : %.c $(CC) -c $(CFLAGS) -o $@ $< diff --git a/util/broadcom/secimage/Makefile.inc b/util/broadcom/secimage/Makefile.inc index ee9a480ccc..a171a42462 100644 --- a/util/broadcom/secimage/Makefile.inc +++ b/util/broadcom/secimage/Makefile.inc @@ -4,7 +4,7 @@ secimageobj += io.o secimageobj += misc.o secimageobj += sbi.o -LIBS = -lgmp -lssl -lcrypto +LIBS = -lssl -lcrypto additional-dirs += $(objutil)/broadcom/secimage