[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 03:27:46 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 a08bbb7a845e6adeebc955e2372f78265e8d5347
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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/cpu/Makefile.inc b/src/cpu/Makefile.inc
index d939061..b197c8a 100644
--- a/src/cpu/Makefile.inc
+++ b/src/cpu/Makefile.inc
@@ -40,7 +40,7 @@ endif
 $(obj)/cpu_microcode_blob.bin: $$(cpu_microcode_bins)
 	@printf "    MICROCODE  $(subst $(obj)/,,$(@))\n"
 	@echo $(cpu_microcode_bins)
-	cat $+ > $@
+	@/usr/bin/test "$(cpu_microcode_bins)" && cat $+ > $@ || touch $@
 
 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