summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlexandru Gagniuc <mr.nuke.me@gmail.com>2013-12-07 18:57:02 -0600
committerAlexandru Gagniuc <mr.nuke.me@gmail.com>2013-12-22 19:26:31 +0100
commitc6c8cb7f799f81a55b94c1e64ee13773dfc7f631 (patch)
tree048ea302539b518bd2671ff2236d50fd20748ed6 /src
parentfea5b50febb1d0cb37f8f77a44e5a0d6634c539d (diff)
downloadcoreboot-c6c8cb7f799f81a55b94c1e64ee13773dfc7f631.tar.xz
Fix linking microcode with more than one microcode file
When assembling microcode , the rule to link individual object files into one larger file only passed the first dependency to the linker. As a results only microcode from one object file would actually get linked. This is fixed by replacing $^ with $+ inside the make rule. Change-Id: I65c0565f2e03777af23e530c08d1241804ca19b1 Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Reviewed-on: http://review.coreboot.org/4500 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'src')
-rw-r--r--src/cpu/Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/Makefile.inc b/src/cpu/Makefile.inc
index 34ae53ecef..7cd9d5fddd 100644
--- a/src/cpu/Makefile.inc
+++ b/src/cpu/Makefile.inc
@@ -41,7 +41,7 @@ endif
# final microcode file.
$(obj)/cpu_microcode_blob.o: $$(cpu_microcode-objs)
@printf " LD $(subst $(obj)/,,$(@))\n"
- $(LD) -static --entry=0 $< -o $@
+ $(LD) -static --entry=0 $+ -o $@
# We have a lot of useless data in the large blob, and we are only interested in
# the data section, so we only copy that part to the final microcode file