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
|
2016-12-23 00:12:33 +08:00
|
|
|
common-obj-$(call lnot,$(CONFIG_ACPI_X86)) += acpi-stub.o
|
2016-10-24 16:18:16 +08:00
|
|
|
|
|
|
|
common-obj-y += acpi_interface.o
|
|
|
|
common-obj-y += bios-linker-loader.o
|
|
|
|
common-obj-y += aml-build.o
|
|
|
|
|
|
|
|
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
|
|
|
|
common-obj-$(CONFIG_ALL) += acpi-stub.o ipmi-stub.o
|