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