From 879c0d7edf401b7d8305a3e388d93a074bdae15d Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Mon, 4 Apr 2022 14:02:19 +0200 Subject: Makefile.inc: Add fmap_config.h as a dependency to cbfs-struct generation There is no easy way to add dependencies to cbfs-structs objects and fmap_config.h is a generated file. Follow-up commits depend on it being available so add it in the cbfs-struct makefile function. Change-Id: I7067ff144d38c1ff058825819419b2a2e7801e17 Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/c/coreboot/+/63350 Tested-by: build bot (Jenkins) Reviewed-by: Lean Sheng Tan Reviewed-by: Christian Walter Reviewed-by: Angel Pons --- Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile.inc') diff --git a/Makefile.inc b/Makefile.inc index 6b1c45cf57..654b366ade 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -337,7 +337,7 @@ endef # arg1: C source file # arg2: binary file cbfs-files-processor-struct= \ - $(eval $(2): $(1) $(obj)/build.h $(KCONFIG_AUTOHEADER); \ + $(eval $(2): $(1) $(obj)/build.h $(obj)/fmap_config.h $(KCONFIG_AUTOHEADER); \ printf " CC+STRIP $(1)\n"; \ $(CC_ramstage) -MMD $(CPPFLAGS_ramstage) $(CFLAGS_ramstage) --param asan-globals=0 $$(ramstage-c-ccopts) -include $(KCONFIG_AUTOHEADER) -MT $(2) -o $(2).tmp -c $(1) && \ $(OBJCOPY_ramstage) -O binary --set-section-flags .bss*=alloc,contents,load $(2).tmp $(2); \ -- cgit v1.2.3