blob: 1f5c7a5d55c63916b2cb6500db6e582ba0635e39 [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
22
Len Brown95b482a2009-01-09 00:13:17 -050023# sleep related files
Rusty Russell5b5d9112009-03-12 09:07:19 +103024acpi-y += wakeup.o
25acpi-y += sleep.o
26acpi-$(CONFIG_ACPI_SLEEP) += proc.o
Len Brown95b482a2009-01-09 00:13:17 -050027
Linus Torvalds1da177e2005-04-16 15:20:36 -070028
29#
30# ACPI Bus and Device Drivers
31#
Rusty Russell5b5d9112009-03-12 09:07:19 +103032acpi-y += bus.o glue.o
33acpi-y += scan.o
34# Keep EC driver first. Initialization of others depend on it.
35acpi-y += ec.o
36acpi-$(CONFIG_ACPI_DOCK) += dock.o
37acpi-y += pci_root.o pci_link.o pci_irq.o pci_bind.o
38acpi-y += power.o
39acpi-y += system.o event.o
40acpi-$(CONFIG_ACPI_DEBUG) += debug.o
41acpi-$(CONFIG_ACPI_NUMA) += numa.o
42acpi-$(CONFIG_ACPI_PROCFS_POWER) += cm_sbs.o
43ifdef CONFIG_ACPI_VIDEO
44acpi-y += video_detect.o
45endif
46
47# These are (potentially) separate modules
48obj-$(CONFIG_ACPI_AC) += ac.o
49obj-$(CONFIG_ACPI_BATTERY) += battery.o
50obj-$(CONFIG_ACPI_BUTTON) += button.o
51obj-$(CONFIG_ACPI_FAN) += fan.o
52obj-$(CONFIG_ACPI_VIDEO) += video.o
53obj-$(CONFIG_ACPI_PCI_SLOT) += pci_slot.o
54obj-$(CONFIG_ACPI_PROCESSOR) += processor.o
55obj-$(CONFIG_ACPI_CONTAINER) += container.o
56obj-$(CONFIG_ACPI_THERMAL) += thermal.o
57obj-$(CONFIG_ACPI_HOTPLUG_MEMORY) += acpi_memhotplug.o
58obj-$(CONFIG_ACPI_SBS) += sbshc.o
59obj-$(CONFIG_ACPI_SBS) += sbs.o
60
Len Brownae7d5152009-04-02 22:49:43 -040061# processor has its own "processor." module_param namespace
62processor-y := processor_core.o processor_throttling.o
63processor-y += processor_idle.o processor_thermal.o
64processor-$(CONFIG_CPU_FREQ) += processor_perflib.o