2016-12-23 00:12:33 +08:00
|
|
|
ifeq ($(CONFIG_ACPI),y)
|
2015-07-07 18:00:56 +08:00
|
|
|
common-obj-$(CONFIG_ACPI_X86) += core.o piix4.o pcihp.o
|
2015-06-29 01:58:56 +08:00
|
|
|
common-obj-$(CONFIG_ACPI_X86_ICH) += ich9.o tco.o
|
2016-05-17 22:43:01 +08:00
|
|
|
common-obj-$(CONFIG_ACPI_CPU_HOTPLUG) += cpu_hotplug.o
|
2016-12-06 07:32:22 +08:00
|
|
|
common-obj-$(CONFIG_ACPI_MEMORY_HOTPLUG) += memory_hotplug.o
|
2016-06-14 22:02:06 +08:00
|
|
|
common-obj-$(CONFIG_ACPI_CPU_HOTPLUG) += cpu.o
|
2016-10-29 00:11:54 +08:00
|
|
|
common-obj-$(CONFIG_ACPI_NVDIMM) += nvdimm.o
|
2017-02-17 07:15:36 +08:00
|
|
|
common-obj-$(CONFIG_ACPI_VMGENID) += vmgenid.o
|
2019-09-18 21:06:25 +08:00
|
|
|
common-obj-$(CONFIG_ACPI_HW_REDUCED) += generic_event_device.o
|
2016-12-23 00:12:33 +08:00
|
|
|
common-obj-$(call lnot,$(CONFIG_ACPI_X86)) += acpi-stub.o
|
2019-12-13 01:03:46 +08:00
|
|
|
common-obj-$(call lnot,$(CONFIG_PC)) += acpi-x86-stub.o
|
2016-10-24 16:18:16 +08:00
|
|
|
|
|
|
|
common-obj-y += acpi_interface.o
|
|
|
|
common-obj-y += bios-linker-loader.o
|
2019-06-10 09:18:30 +08:00
|
|
|
common-obj-y += aml-build.o utils.o
|
2019-05-21 14:28:35 +08:00
|
|
|
common-obj-$(CONFIG_ACPI_PCI) += pci.o
|
2019-01-15 06:27:52 +08:00
|
|
|
common-obj-$(CONFIG_TPM) += tpm.o
|
2016-10-24 16:18:16 +08:00
|
|
|
|
|
|
|
common-obj-$(CONFIG_IPMI) += ipmi.o
|
|
|
|
common-obj-$(call lnot,$(CONFIG_IPMI)) += ipmi-stub.o
|
2016-12-23 00:12:33 +08:00
|
|
|
else
|
|
|
|
common-obj-y += acpi-stub.o
|
|
|
|
endif
|
2019-12-13 01:03:46 +08:00
|
|
|
common-obj-$(CONFIG_ALL) += acpi-stub.o acpi-x86-stub.o ipmi-stub.o
|