blob: 2a4502becd1356cefc5e9b36fc0942a5772eb4ef [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Makefile for the Linux ACPI interpreter
Alexey Starikovskiy33d20b62007-03-07 22:28:00 +03003#
Linus Torvalds1da177e2005-04-16 15:20:36 -07004
Len Brown95b482a2009-01-09 00:13:17 -05005ccflags-y := -Os
6ccflags-$(CONFIG_ACPI_DEBUG) += -DACPI_DEBUG_OUTPUT
Linus Torvalds1da177e2005-04-16 15:20:36 -07007
8#
9# ACPI Boot-Time Table Parsing
10#
Len Brown888ba6c2005-08-24 12:07:20 -040011obj-y += tables.o
Al Viro5d8e7aa2005-09-22 01:15:57 -040012obj-$(CONFIG_X86) += blacklist.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070013
14#
15# ACPI Core Subsystem (Interpreter)
16#
Rusty Russell5b5d9112009-03-12 09:07:19 +103017obj-y += acpi.o \
Len Brown95b482a2009-01-09 00:13:17 -050018 acpica/
19
Rusty Russell5b5d9112009-03-12 09:07:19 +103020# All the builtin files are in the "acpi." module_param namespace.
21acpi-y += osl.o utils.o reboot.o
Huang Yingb54ac6d2011-12-08 11:25:49 +080022acpi-y += nvs.o
Rusty Russell5b5d9112009-03-12 09:07:19 +103023
Rafael J. Wysockiec2cd812012-11-02 01:40:09 +010024# Power management related files
Rusty Russell5b5d9112009-03-12 09:07:19 +103025acpi-y += wakeup.o
26acpi-y += sleep.o
Rafael J. Wysockiec2cd812012-11-02 01:40:09 +010027acpi-$(CONFIG_PM) += device_pm.o
Huang Yingb54ac6d2011-12-08 11:25:49 +080028acpi-$(CONFIG_ACPI_SLEEP) += proc.o
Len Brown95b482a2009-01-09 00:13:17 -050029
Linus Torvalds1da177e2005-04-16 15:20:36 -070030
31#
32# ACPI Bus and Device Drivers
33#
Rusty Russell5b5d9112009-03-12 09:07:19 +103034acpi-y += bus.o glue.o
35acpi-y += scan.o
Rafael J. Wysocki046d9ce2012-11-15 00:30:01 +010036acpi-y += resource.o
Alex Chiang4d5d4cd2010-02-22 12:11:14 -070037acpi-y += processor_core.o
Rusty Russell5b5d9112009-03-12 09:07:19 +103038acpi-y += ec.o
39acpi-$(CONFIG_ACPI_DOCK) += dock.o
40acpi-y += pci_root.o pci_link.o pci_irq.o pci_bind.o
Mika Westerberg91e56872012-10-31 22:45:02 +010041acpi-y += acpi_platform.o
Rusty Russell5b5d9112009-03-12 09:07:19 +103042acpi-y += power.o
Zhang Rui47f5c892010-07-15 10:46:33 +080043acpi-y += event.o
Zhang Rui1c8fce22010-07-15 10:46:30 +080044acpi-y += sysfs.o
Zhang Ruia25ee922010-07-15 10:46:15 +080045acpi-$(CONFIG_DEBUG_FS) += debugfs.o
Rusty Russell5b5d9112009-03-12 09:07:19 +103046acpi-$(CONFIG_ACPI_NUMA) += numa.o
47acpi-$(CONFIG_ACPI_PROCFS_POWER) += cm_sbs.o
48ifdef CONFIG_ACPI_VIDEO
49acpi-y += video_detect.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070050endif
51
Rusty Russell5b5d9112009-03-12 09:07:19 +103052# These are (potentially) separate modules
Matthew Garrett40337412012-10-16 15:53:37 -050053
54# IPMI may be used by other drivers, so it has to initialise before them
55obj-$(CONFIG_ACPI_IPMI) += acpi_ipmi.o
56
Linus Torvalds1da177e2005-04-16 15:20:36 -070057obj-$(CONFIG_ACPI_AC) += ac.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070058obj-$(CONFIG_ACPI_BUTTON) += button.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070059obj-$(CONFIG_ACPI_FAN) += fan.o
Kristen Carlson Accardi01b57e72006-10-20 14:30:25 -070060obj-$(CONFIG_ACPI_VIDEO) += video.o
Alex Chiang8344b562008-06-10 15:30:42 -060061obj-$(CONFIG_ACPI_PCI_SLOT) += pci_slot.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070062obj-$(CONFIG_ACPI_PROCESSOR) += processor.o
63obj-$(CONFIG_ACPI_CONTAINER) += container.o
64obj-$(CONFIG_ACPI_THERMAL) += thermal.o
Rusty Russell5b5d9112009-03-12 09:07:19 +103065obj-$(CONFIG_ACPI_HOTPLUG_MEMORY) += acpi_memhotplug.o
Arjan van de Ven0f66af52009-01-10 14:19:05 -050066obj-$(CONFIG_ACPI_BATTERY) += battery.o
Alexey Starikovskiy91087df2007-09-26 19:43:28 +040067obj-$(CONFIG_ACPI_SBS) += sbshc.o
Alexey Starikovskiybbafbec2008-02-09 03:22:13 -050068obj-$(CONFIG_ACPI_SBS) += sbs.o
Huang Ying801eab82010-05-18 14:35:17 +080069obj-$(CONFIG_ACPI_HED) += hed.o
Thomas Renninger1195a092010-07-16 13:11:31 +020070obj-$(CONFIG_ACPI_EC_DEBUGFS) += ec_sys.o
Thomas Renninger526b4af2011-05-26 12:26:24 +020071obj-$(CONFIG_ACPI_CUSTOM_METHOD)+= custom_method.o
Matthew Garrettd1ff4b12012-01-31 13:19:20 -050072obj-$(CONFIG_ACPI_BGRT) += bgrt.o
Mika Westerberg907ddf82012-11-23 12:23:40 +010073obj-$(CONFIG_ACPI_I2C) += acpi_i2c.o
Rusty Russell5b5d9112009-03-12 09:07:19 +103074
Len Brownae7d5152009-04-02 22:49:43 -040075# processor has its own "processor." module_param namespace
Alex Chiang0131aa32010-02-22 12:11:08 -070076processor-y := processor_driver.o processor_throttling.o
Len Brownae7d5152009-04-02 22:49:43 -040077processor-y += processor_idle.o processor_thermal.o
78processor-$(CONFIG_CPU_FREQ) += processor_perflib.o
Shaohua Li8e0af512009-07-27 18:11:02 -040079
80obj-$(CONFIG_ACPI_PROCESSOR_AGGREGATOR) += acpi_pad.o
Huang Yinga643ce22010-05-18 14:35:12 +080081
82obj-$(CONFIG_ACPI_APEI) += apei/