aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@chromium.org>2015-04-22 18:11:40 +0200
committerPatrick Georgi <pgeorgi@google.com>2015-04-22 19:36:29 +0200
commit392e9b156eeb88ab5543d286d9abe00bfa4fb56d (patch)
tree1e8ee815ad28d00f41fa7a8ef5b01fce97e47056 /util
parenta1361d4318bf4f849b846150f7cb725632bb0ea5 (diff)
downloadcoreboot-392e9b156eeb88ab5543d286d9abe00bfa4fb56d.tar.gz
coreboot-392e9b156eeb88ab5543d286d9abe00bfa4fb56d.tar.xz
coreboot-392e9b156eeb88ab5543d286d9abe00bfa4fb56d.zip
util/broadcom: specify libraries after object files
Some compilers and linkers require a strict order or fail to find all symbols. Change-Id: I3f44bec1f0e21e7313a751fbc99c61c1aa9b7cf1 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Reviewed-on: http://review.coreboot.org/9962 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'util')
-rw-r--r--util/broadcom/secimage/Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/broadcom/secimage/Makefile.inc b/util/broadcom/secimage/Makefile.inc
index 6581dd121..ee9a480cc 100644
--- a/util/broadcom/secimage/Makefile.inc
+++ b/util/broadcom/secimage/Makefile.inc
@@ -15,4 +15,4 @@ $(objutil)/broadcom/secimage/%.o: $(top)/util/broadcom/secimage/%.c
$(objutil)/broadcom/secimage/secimage: \
$(addprefix $(objutil)/broadcom/secimage/,$(secimageobj))
printf " HOSTCC $(subst $(objutil)/,,$(@)) (link)\n"
- $(HOSTCC) $(LIBS) -o $@ $^
+ $(HOSTCC) -o $@ $^ $(LIBS)