diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2022-02-17 17:50:07 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-02-18 17:14:33 +0000 |
commit | 655caa2da0527c92d269d34f5c094d811f420070 (patch) | |
tree | 110a2e5d60657b7614a21608a906581ea9289ebc /src/soc/amd | |
parent | 63226901c758e6a8374329587f5393d9af401d13 (diff) |
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>
Diffstat (limited to 'src/soc/amd')
-rw-r--r-- | src/soc/amd/common/block/psp/Makefile.inc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/soc/amd/common/block/psp/Makefile.inc b/src/soc/amd/common/block/psp/Makefile.inc index 5bae663021..4efaf0f2a5 100644 --- a/src/soc/amd/common/block/psp/Makefile.inc +++ b/src/soc/amd/common/block/psp/Makefile.inc @@ -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) |