soc/amd/common/block/psp/Makefile: add fmap_config.h dependency

Compiling efs_fmap_check.c depends on fmap_config.h already being
generated, so add this dependency.

Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: I85e0900574f928d1594f8d1831ba58f959b75d27
Reviewed-on: https://review.coreboot.org/c/coreboot/+/62132
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
This commit is contained in:
Felix Held 2022-02-17 17:50:07 +01:00
parent 63226901c7
commit 655caa2da0
1 changed files with 5 additions and 1 deletions

View File

@ -6,9 +6,13 @@ smm-y += psp.c
smm-y += psp_smm.c
bootblock-y += psp_efs.c
bootblock-$(CONFIG_AMD_SOC_SEPARATE_EFS_SECTION) += efs_fmap_check.c
verstage-y += psp_efs.c
ifeq ($(CONFIG_AMD_SOC_SEPARATE_EFS_SECTION),y)
bootblock-y += efs_fmap_check.c
$(call src-to-obj,bootblock,$(dir)/efs_fmap_check.c) : $(obj)/fmap_config.h
endif # CONFIG_AMD_SOC_SEPARATE_EFS_SECTION
endif # CONFIG_SOC_AMD_COMMON_BLOCK_PSP
ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_PSP_GEN1),y)