[coreboot-gerrit] New patch to review for coreboot: cpu/microcode: Avoid build hang when microcode selected but no microcode available

Timothy Pearson (tpearson@raptorengineeringinc.com) gerrit at coreboot.org
Wed Oct 14 22:27:20 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 fff98ca1714e834e909c96ae77115baab68ec46f
Author: Timothy Pearson <tpearson at raptorengineeringinc.com>
Date:   Wed Oct 14 15:26:28 2015 -0500

    cpu/microcode: Avoid build hang when microcode selected but 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 e51866e..1a5c2a9 100644
--- a/src/cpu/Makefile.inc
+++ b/src/cpu/Makefile.inc
@@ -36,9 +36,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