blob: 66cc3f36a954f7d7b9151a390bc9b4cc6bd758c8 [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
Matt Domsch05843962009-11-02 11:51:24 -060022acpi-y += hest.o
Rusty Russell5b5d9112009-03-12 09:07:19 +103023
Len Brown95b482a2009-01-09 00:13:17 -050024# sleep related files
Rusty Russell5b5d9112009-03-12 09:07:19 +103025acpi-y += wakeup.o
26acpi-y += sleep.o
27acpi-$(CONFIG_ACPI_SLEEP) += proc.o
Len Brown95b482a2009-01-09 00:13:17 -050028
Linus Torvalds1da177e2005-04-16 15:20:36 -070029
30#
31# ACPI Bus and Device Drivers
32#
Rusty Russell5b5d9112009-03-12 09:07:19 +103033acpi-y += bus.o glue.o
34acpi-y += scan.o
Alex Chiang78f16992009-12-20 12:19:09 -070035acpi-y += processor_pdc.o
Rusty Russell5b5d9112009-03-12 09:07:19 +103036acpi-y += ec.o
37acpi-$(CONFIG_ACPI_DOCK) += dock.o
38acpi-y += pci_root.o pci_link.o pci_irq.o pci_bind.o
39acpi-y += power.o
40acpi-y += system.o event.o
41acpi-$(CONFIG_ACPI_DEBUG) += debug.o
42acpi-$(CONFIG_ACPI_NUMA) += numa.o
43acpi-$(CONFIG_ACPI_PROCFS_POWER) += cm_sbs.o
44ifdef CONFIG_ACPI_VIDEO
45acpi-y += video_detect.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070046endif
47
Rusty Russell5b5d9112009-03-12 09:07:19 +103048# These are (potentially) separate modules
Linus Torvalds1da177e2005-04-16 15:20:36 -070049obj-$(CONFIG_ACPI_AC) += ac.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070050obj-$(CONFIG_ACPI_BUTTON) += button.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070051obj-$(CONFIG_ACPI_FAN) += fan.o
Kristen Carlson Accardi01b57e72006-10-20 14:30:25 -070052obj-$(CONFIG_ACPI_VIDEO) += video.o
Alex Chiang8344b562008-06-10 15:30:42 -060053obj-$(CONFIG_ACPI_PCI_SLOT) += pci_slot.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070054obj-$(CONFIG_ACPI_PROCESSOR) += processor.o
55obj-$(CONFIG_ACPI_CONTAINER) += container.o
56obj-$(CONFIG_ACPI_THERMAL) += thermal.o
Rusty Russell5b5d9112009-03-12 09:07:19 +103057obj-$(CONFIG_ACPI_HOTPLUG_MEMORY) += acpi_memhotplug.o
Arjan van de Ven0f66af52009-01-10 14:19:05 -050058obj-$(CONFIG_ACPI_BATTERY) += battery.o
Alexey Starikovskiy91087df2007-09-26 19:43:28 +040059obj-$(CONFIG_ACPI_SBS) += sbshc.o
Alexey Starikovskiybbafbec2008-02-09 03:22:13 -050060obj-$(CONFIG_ACPI_SBS) += sbs.o
Darrick J. Wongde584af2009-09-18 12:41:09 -070061obj-$(CONFIG_ACPI_POWER_METER) += power_meter.o
Rusty Russell5b5d9112009-03-12 09:07:19 +103062
Len Brownae7d5152009-04-02 22:49:43 -040063# processor has its own "processor." module_param namespace
64processor-y := processor_core.o processor_throttling.o
65processor-y += processor_idle.o processor_thermal.o
66processor-$(CONFIG_CPU_FREQ) += processor_perflib.o
Shaohua Li8e0af512009-07-27 18:11:02 -040067
68obj-$(CONFIG_ACPI_PROCESSOR_AGGREGATOR) += acpi_pad.o