blob: b130ea0d0759a3f95c8b81d3c203e4bdea1c5820 [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#
Aaron Durbin4d387042008-07-16 23:27:08 +020017obj-y += osl.o utils.o reboot.o\
Len Brown95b482a2009-01-09 00:13:17 -050018 acpica/
19
20# sleep related files
21obj-y += wakeup.o
Len Brownd08ca2c2009-01-16 13:52:03 -050022obj-y += sleep.o
Len Brown95b482a2009-01-09 00:13:17 -050023obj-$(CONFIG_ACPI_SLEEP) += proc.o
24
Linus Torvalds1da177e2005-04-16 15:20:36 -070025
26#
27# ACPI Bus and Device Drivers
28#
29processor-objs += processor_core.o processor_throttling.o \
30 processor_idle.o processor_thermal.o
31ifdef CONFIG_CPU_FREQ
Alexey Starikovskiy33d20b62007-03-07 22:28:00 +030032processor-objs += processor_perflib.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070033endif
34
Len Brown76f58582005-08-24 12:10:49 -040035obj-y += bus.o glue.o
Bjorn Helgaas5eca3382007-01-18 16:44:48 -070036obj-y += scan.o
Alexey Starikovskiy33d20b62007-03-07 22:28:00 +030037# Keep EC driver first. Initialization of others depend on it.
Bjorn Helgaas8950d892008-11-05 16:18:03 -070038obj-y += ec.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070039obj-$(CONFIG_ACPI_AC) += ac.o
40obj-$(CONFIG_ACPI_BATTERY) += battery.o
41obj-$(CONFIG_ACPI_BUTTON) += button.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070042obj-$(CONFIG_ACPI_FAN) += fan.o
Len Brownc8f7a622006-07-09 17:22:28 -040043obj-$(CONFIG_ACPI_DOCK) += dock.o
Kristen Carlson Accardi01b57e72006-10-20 14:30:25 -070044obj-$(CONFIG_ACPI_VIDEO) += video.o
Thomas Renningerc3d6de62008-08-01 17:37:55 +020045ifdef CONFIG_ACPI_VIDEO
46obj-y += video_detect.o
47endif
48
Len Brown6153df7b2005-08-25 12:27:09 -040049obj-y += pci_root.o pci_link.o pci_irq.o pci_bind.o
Alex Chiang8344b562008-06-10 15:30:42 -060050obj-$(CONFIG_ACPI_PCI_SLOT) += pci_slot.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070051obj-$(CONFIG_ACPI_PROCESSOR) += processor.o
52obj-$(CONFIG_ACPI_CONTAINER) += container.o
53obj-$(CONFIG_ACPI_THERMAL) += thermal.o
Bjorn Helgaasfefe5ab2008-11-05 16:17:58 -070054obj-y += power.o
Bjorn Helgaasba193d62009-02-19 12:56:16 -070055obj-y += system.o event.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070056obj-$(CONFIG_ACPI_DEBUG) += debug.o
57obj-$(CONFIG_ACPI_NUMA) += numa.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070058obj-$(CONFIG_ACPI_HOTPLUG_MEMORY) += acpi_memhotplug.o
Alexey Starikovskiyfdcedbb2007-11-19 16:33:45 +030059obj-$(CONFIG_ACPI_PROCFS_POWER) += cm_sbs.o
Alexey Starikovskiy91087df2007-09-26 19:43:28 +040060obj-$(CONFIG_ACPI_SBS) += sbshc.o
Alexey Starikovskiybbafbec2008-02-09 03:22:13 -050061obj-$(CONFIG_ACPI_SBS) += sbs.o