diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2021-07-14 18:42:09 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-07-15 17:36:51 +0000 |
commit | ae4f0ceb88b5f54606cbed7845d59eb37b348906 (patch) | |
tree | e36dd1b23dfed003f6cf9aa4657c47eb4b77cfde /src/soc | |
parent | bb0af238687e4963f4fab8196aa0b0add2fdd318 (diff) | |
download | coreboot-ae4f0ceb88b5f54606cbed7845d59eb37b348906.tar.gz coreboot-ae4f0ceb88b5f54606cbed7845d59eb37b348906.tar.bz2 coreboot-ae4f0ceb88b5f54606cbed7845d59eb37b348906.zip |
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>
Diffstat (limited to 'src/soc')
-rw-r--r-- | src/soc/amd/common/block/cpu/mca/Makefile.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/soc/amd/common/block/cpu/mca/Makefile.inc b/src/soc/amd/common/block/cpu/mca/Makefile.inc index 02328057de7b..fd9e573e057b 100644 --- a/src/soc/amd/common/block/cpu/mca/Makefile.inc +++ b/src/soc/amd/common/block/cpu/mca/Makefile.inc @@ -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 |