diff options
author | Alexandru Gagniuc <mr.nuke.me@gmail.com> | 2013-12-07 18:57:02 -0600 |
---|---|---|
committer | Alexandru Gagniuc <mr.nuke.me@gmail.com> | 2013-12-22 19:26:31 +0100 |
commit | c6c8cb7f799f81a55b94c1e64ee13773dfc7f631 (patch) | |
tree | 048ea302539b518bd2671ff2236d50fd20748ed6 | |
parent | fea5b50febb1d0cb37f8f77a44e5a0d6634c539d (diff) |
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>
-rw-r--r-- | src/cpu/Makefile.inc | 2 |
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 |