diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2024-01-16 00:05:57 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2024-01-20 01:26:43 +0000 |
commit | 931840fbcbe9bbe9cd98a4fbc26bfa45433a13c2 (patch) | |
tree | e5dc565f66ef571d1066f9ef62450166d621a97e /src/soc/amd | |
parent | 73045b269db1c691a08b786b344963c54a450e99 (diff) |
soc/amd/phoenix/Makefile: conditionally add fsp_[m,s]_params.c
fsp_m_params.c and fsp_s_params.c only contain FSP-specific code, so
only add those to the build if the SOC_AMD_PHOENIX_FSP Kconfig option is
selected. Other files have FSP-specific parts too, but those will be
reworked in future patches.
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: Ife38ca6a548d7c3c2e765d9c9f30e0a4057bb373
Reviewed-on: https://review.coreboot.org/c/coreboot/+/79984
Reviewed-by: Martin Roth <martin.roth@amd.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/amd')
-rw-r--r-- | src/soc/amd/phoenix/Makefile.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/amd/phoenix/Makefile.inc b/src/soc/amd/phoenix/Makefile.inc index 03a38ade85..0301cdc0ed 100644 --- a/src/soc/amd/phoenix/Makefile.inc +++ b/src/soc/amd/phoenix/Makefile.inc @@ -21,7 +21,7 @@ bootblock-y += espi_util.c verstage-y += espi_util.c -romstage-y += fsp_m_params.c +romstage-$(CONFIG_SOC_AMD_PHOENIX_FSP) += fsp_m_params.c romstage-y += romstage.c romstage-y += soc_util.c @@ -30,7 +30,7 @@ ramstage-y += agesa_acpi.c ramstage-y += chip.c ramstage-y += cpu.c ramstage-y += fch.c -ramstage-y += fsp_s_params.c +ramstage-$(CONFIG_SOC_AMD_PHOENIX_FSP) += fsp_s_params.c ramstage-y += graphics.c ramstage-y += mca.c ramstage-y += root_complex.c |