From c467334620cc51daa9b976a241e43a6cafbe54a8 Mon Sep 17 00:00:00 2001 From: Julien Viard de Galbert Date: Fri, 3 Nov 2017 14:07:55 +0100 Subject: [PATCH] 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 doesn't detect the header change. This commit fixes this by adding the appropriate dependency. Change-Id: I4211a3e39f67da727ef7cddbbee6d8c4718dee4a Signed-off-by: Julien Viard de Galbert Reviewed-on: https://review.coreboot.org/22307 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- 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 f74e354f0a..46e541962b 100644 --- a/src/cpu/Makefile.inc +++ b/src/cpu/Makefile.inc @@ -25,7 +25,7 @@ ifeq ($(CONFIG_CPU_MICROCODE_CBFS_EXTERNAL_HEADER),y) cbfs-files-y += cpu_microcode_blob.bin cpu_microcode_blob.bin-file = $(objgenerated)/microcode.bin -$(objgenerated)/microcode.bin: +$(objgenerated)/microcode.bin: $(call strip_quotes,$(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