From 87a9d8ffe641480c86eb8e856480692748930b8e Mon Sep 17 00:00:00 2001 From: Felix Held Date: Thu, 22 Jun 2023 16:16:45 +0200 Subject: Makefile.inc: don't add fmap_config.h dependency twice Commit d054bbd4f1ba ("Makefile.inc: fix multiple jobs build issue") added a dependency on $(obj)/fmap_config.h to all .c source files in all stages, so it's not needed any more to add it as a dependency to files that include fmap_config.h. Signed-off-by: Felix Held Change-Id: I7b62917f32ae9f51f079b243a606e5db07ca9099 Reviewed-on: https://review.coreboot.org/c/coreboot/+/76002 Reviewed-by: Nico Huber Reviewed-by: Martin Roth Tested-by: build bot (Jenkins) Reviewed-by: Fred Reitberger --- src/soc/amd/common/block/apob/Makefile.inc | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/soc/amd/common/block/apob') diff --git a/src/soc/amd/common/block/apob/Makefile.inc b/src/soc/amd/common/block/apob/Makefile.inc index 746e015103..ae550bc522 100644 --- a/src/soc/amd/common/block/apob/Makefile.inc +++ b/src/soc/amd/common/block/apob/Makefile.inc @@ -3,7 +3,4 @@ ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_APOB),y) romstage-y += apob_cache.c ramstage-y += apob_cache.c -$(call src-to-obj,romstage,$(dir)/apob_cache.c) : $(obj)/fmap_config.h -$(call src-to-obj,ramstage,$(dir)/apob_cache.c) : $(obj)/fmap_config.h - endif # CONFIG_SOC_AMD_COMMON_BLOCK_APOB -- cgit v1.2.3