summaryrefslogtreecommitdiff
path: root/util/broadcom/secimage
diff options
context:
space:
mode:
authorStefan Reinauer <reinauer@chromium.org>2015-07-30 16:26:00 -0700
committerPatrick Georgi <pgeorgi@google.com>2015-07-31 17:40:32 +0200
commit1db856d08aecdb3a5fb76ddee7918afc1964b395 (patch)
tree2e7648afeb5914824e9610ccb06dcd536e892eac /util/broadcom/secimage
parent9c1b33e74bbb0a6ebcfa66bad80cdaad83a5fdf4 (diff)
downloadcoreboot-1db856d08aecdb3a5fb76ddee7918afc1964b395.tar.xz
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 <stefan.reinauer@coreboot.org> Reviewed-on: http://review.coreboot.org/11079 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'util/broadcom/secimage')
-rw-r--r--util/broadcom/secimage/Makefile2
-rw-r--r--util/broadcom/secimage/Makefile.inc2
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