[coreboot-gerrit] Patch set updated for coreboot: cpu/microcode: Avoid build hang when no microcode available
Timothy Pearson (tpearson@raptorengineeringinc.com)
gerrit at coreboot.org
Wed Oct 14 23:24:57 CEST 2015
Timothy Pearson (tpearson at raptorengineeringinc.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/11902
-gerrit
commit aeaed48753583a1f4cf287dd686bde0ed61ee425
Author: Timothy Pearson <tpearson at raptorengineeringinc.com>
Date: Wed Oct 14 16:24:24 2015 -0500
cpu/microcode: Avoid build hang when no microcode available
Change-Id: I245b99ed1eb9219100e5406e76b9524a7b300d96
Signed-off-by: Timothy Pearson <tpearson at raptorengineeringinc.com>
---
src/cpu/Makefile.inc | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/cpu/Makefile.inc b/src/cpu/Makefile.inc
index fa8d93b..6db09ba 100644
--- a/src/cpu/Makefile.inc
+++ b/src/cpu/Makefile.inc
@@ -32,9 +32,13 @@ endif
# there is only one microcode binary (i.e. one container), then we don't have
# this issue, and this rule will continue to work.
$(obj)/cpu_microcode_blob.bin: $$(cpu_microcode_bins)
+ifeq ($(cpu_microcode_bins),)
+ touch $@
+else
@printf " MICROCODE $(subst $(obj)/,,$(@))\n"
@echo $(cpu_microcode_bins)
cat $+ > $@
+endif
cbfs-files-$(generate-monolithic-file) += cpu_microcode_blob.bin
cpu_microcode_blob.bin-file := $(cpu_ucode_cbfs_file)
More information about the coreboot-gerrit
mailing list