From 46af7f7442f53939130ed2eda2c00bb72cfa7746 Mon Sep 17 00:00:00 2001 From: Reka Norman Date: Wed, 18 May 2022 03:09:40 +1000 Subject: lib/Makefile.inc: Correct filename to master_header_pointer.c Builds are failing sporadically with: src/lib/master_header_pointer.c:5:10: fatal error: fmap_config.h: No such file or directory 5 | #include | ^~~~~~~~~~~~~~~ Correct the filename in the Makefile from header_pointer.c to master_header_pointer.c so that there's a dependency from master_header_pointer.c to fmap_config.h. Change-Id: I41bcb2a21fdbc48f09d5b6be3e211ca56607d849 Signed-off-by: Reka Norman Reviewed-on: https://review.coreboot.org/c/coreboot/+/64431 Reviewed-by: Arthur Heymans Reviewed-by: Raul Rangel Reviewed-by: Patrick Georgi Tested-by: build bot (Jenkins) --- src/lib/Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib') diff --git a/src/lib/Makefile.inc b/src/lib/Makefile.inc index a930663047..57b0c7a122 100644 --- a/src/lib/Makefile.inc +++ b/src/lib/Makefile.inc @@ -400,7 +400,7 @@ cbfs_master_header-type := "cbfs header" cbfs_master_header-position := 0 ifeq ($(CONFIG_ARCH_X86),y) -$(call src-to-obj,bootblock,$(dir)/header_pointer.c): $(obj)/fmap_config.h +$(call src-to-obj,bootblock,$(dir)/master_header_pointer.c): $(obj)/fmap_config.h bootblock-y += master_header_pointer.c else cbfs-files-y += header_pointer -- cgit v1.2.3