qemu-q35,xeon_sp: Drop HAVE_SMI_HANDLER conditional with smm-class
Build of the entire smm-class is skipped if we have HAVE_SMI_HANDLER=n. Change-Id: I64bdcb28a996609111861ebafe172493b0650354 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/54852 Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-by: Rocky Phagura Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
0cda8d2c50
commit
e882269c11
|
@ -20,5 +20,5 @@ verstage-$(CONFIG_CHROMEOS) += chromeos.c
|
||||||
verstage-$(CONFIG_CHROMEOS) += ../qemu-i440fx/fw_cfg.c
|
verstage-$(CONFIG_CHROMEOS) += ../qemu-i440fx/fw_cfg.c
|
||||||
ramstage-$(CONFIG_CHROMEOS) += chromeos.c
|
ramstage-$(CONFIG_CHROMEOS) += chromeos.c
|
||||||
|
|
||||||
smm-$(CONFIG_HAVE_SMI_HANDLER) += smi.c
|
smm-y += smi.c
|
||||||
smm-$(CONFIG_HAVE_SMI_HANDLER) += memmap.c
|
smm-y += memmap.c
|
||||||
|
|
|
@ -13,7 +13,7 @@ ramstage-y += memmap.c pch.c lockdown.c finalize.c
|
||||||
ramstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_PMC) += pmc.c pmutil.c
|
ramstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_PMC) += pmc.c pmutil.c
|
||||||
ramstage-$(CONFIG_HAVE_ACPI_TABLES) += nb_acpi.c acpi.c
|
ramstage-$(CONFIG_HAVE_ACPI_TABLES) += nb_acpi.c acpi.c
|
||||||
ramstage-$(CONFIG_HAVE_SMI_HANDLER) += smmrelocate.c
|
ramstage-$(CONFIG_HAVE_SMI_HANDLER) += smmrelocate.c
|
||||||
smm-$(CONFIG_HAVE_SMI_HANDLER) += smihandler.c pmutil.c
|
smm-y += smihandler.c pmutil.c
|
||||||
postcar-y += spi.c
|
postcar-y += spi.c
|
||||||
|
|
||||||
CPPFLAGS_common += -I$(src)/soc/intel/xeon_sp/include
|
CPPFLAGS_common += -I$(src)/soc/intel/xeon_sp/include
|
||||||
|
|
Loading…
Reference in New Issue