[coreboot-gerrit] Patch set updated for coreboot: cpu/microcode: Avoid build hang when no microcode available

Aaron Durbin (adurbin@chromium.org) gerrit at coreboot.org
Thu Oct 15 00:29:19 CEST 2015


Aaron Durbin (adurbin at chromium.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/11902

-gerrit

commit 9001d0592af35b8d661c4ec9fb48ebc9b2a55672
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 e8323da..e76308c 100644
--- a/src/cpu/Makefile.inc
+++ b/src/cpu/Makefile.inc
@@ -38,9 +38,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-$(cbfs_include_ucode) += cpu_microcode_blob.bin
 cpu_microcode_blob.bin-file := $(cpu_ucode_cbfs_file)



More information about the coreboot-gerrit mailing list