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