[coreboot-gerrit] Change in coreboot[master]: Microcode: add dependency to header files

Julien Viard de Galbert (Code Review) gerrit at coreboot.org
Fri Nov 3 11:45:45 CET 2017


Julien Viard de Galbert has uploaded this change for review. ( https://review.coreboot.org/22307


Change subject: Microcode: add dependency to header files
......................................................................

Microcode: add dependency to header files

When using microcode header and updating the header (due to a new
release of microcode during early development) the build system
didn't detect the header change. This commit fixes this.

Change-Id: I4211a3e39f67da727ef7cddbbee6d8c4718dee4a
Signed-off-by: Julien Viard de Galbert <jviarddegalbert at online.net>
---
M src/cpu/Makefile.inc
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/07/22307/1

diff --git a/src/cpu/Makefile.inc b/src/cpu/Makefile.inc
index f74e354..ae01878 100644
--- a/src/cpu/Makefile.inc
+++ b/src/cpu/Makefile.inc
@@ -25,7 +25,7 @@
 cbfs-files-y  += cpu_microcode_blob.bin
 cpu_microcode_blob.bin-file = $(objgenerated)/microcode.bin
 
-$(objgenerated)/microcode.bin:
+$(objgenerated)/microcode.bin: $(subst ",,$(CONFIG_CPU_MICROCODE_HEADER_FILES))
 	echo "   util/scripts/ucode_h_to_bin.sh $(objgenerated)/microcode.bin \"$(CONFIG_CPU_MICROCODE_HEADER_FILES)\""
 	util/scripts/ucode_h_to_bin.sh $(objgenerated)/microcode.bin $(CONFIG_CPU_MICROCODE_HEADER_FILES)
 endif

-- 
To view, visit https://review.coreboot.org/22307
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I4211a3e39f67da727ef7cddbbee6d8c4718dee4a
Gerrit-Change-Number: 22307
Gerrit-PatchSet: 1
Gerrit-Owner: Julien Viard de Galbert <jviarddegalbert at online.net>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20171103/50a44ae3/attachment.html>


More information about the coreboot-gerrit mailing list