soc/amd/common/block/cpu/mca: make building the BERT support conditional
Only when ACPI_BERT is selected the BERT functionality needs to be included in the build. Change-Id: I8a21562f4535fb0ea3c53f2ea8df50f66cc6a64c Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/56314 Reviewed-by: Martin Roth <martinroth@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
bb0af23868
commit
ae4f0ceb88
|
@ -1,14 +1,14 @@
|
|||
ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_MCA_COMMON),y)
|
||||
ramstage-y += mca_common.c
|
||||
ramstage-y += mca_common_bert.c
|
||||
ramstage-$(CONFIG_ACPI_BERT) += mca_common_bert.c
|
||||
endif # CONFIG_SOC_AMD_COMMON_BLOCK_MCA_COMMON
|
||||
|
||||
ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_MCA),y)
|
||||
ramstage-y += mca_bert.c
|
||||
ramstage-$(CONFIG_ACPI_BERT) += mca_bert.c
|
||||
ramstage-y += mca.c
|
||||
endif # CONFIG_SOC_AMD_COMMON_BLOCK_MCA
|
||||
|
||||
ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_MCAX),y)
|
||||
ramstage-y += mcax_bert.c
|
||||
ramstage-$(CONFIG_ACPI_BERT) += mcax_bert.c
|
||||
ramstage-y += mcax.c
|
||||
endif # CONFIG_SOC_AMD_COMMON_BLOCK_MCAX
|
||||
|
|
Loading…
Reference in New Issue