blob: 52a4cd4b81d0735e916f4ab6ce037265106c27d5 [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
5export ACPI_CFLAGS
6
7ACPI_CFLAGS := -Os
8
9ifdef CONFIG_ACPI_DEBUG
10 ACPI_CFLAGS += -DACPI_DEBUG_OUTPUT
11endif
12
13EXTRA_CFLAGS += $(ACPI_CFLAGS)
14
15#
16# ACPI Boot-Time Table Parsing
17#
Len Brown888ba6c2005-08-24 12:07:20 -040018obj-y += tables.o
Al Viro5d8e7aa2005-09-22 01:15:57 -040019obj-$(CONFIG_X86) += blacklist.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070020
21#
22# ACPI Core Subsystem (Interpreter)
23#
Aaron Durbin4d387042008-07-16 23:27:08 +020024obj-y += osl.o utils.o reboot.o\
Linus Torvalds1da177e2005-04-16 15:20:36 -070025 dispatcher/ events/ executer/ hardware/ \
26 namespace/ parser/ resources/ tables/ \
27 utilities/
28
29#
30# ACPI Bus and Device Drivers
31#
32processor-objs += processor_core.o processor_throttling.o \
33 processor_idle.o processor_thermal.o
34ifdef CONFIG_CPU_FREQ
Alexey Starikovskiy33d20b62007-03-07 22:28:00 +030035processor-objs += processor_perflib.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070036endif
37
Len Brown76f58582005-08-24 12:10:49 -040038obj-y += sleep/
39obj-y += bus.o glue.o
Bjorn Helgaas5eca3382007-01-18 16:44:48 -070040obj-y += scan.o
Alexey Starikovskiy33d20b62007-03-07 22:28:00 +030041# Keep EC driver first. Initialization of others depend on it.
42obj-$(CONFIG_ACPI_EC) += ec.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070043obj-$(CONFIG_ACPI_AC) += ac.o
44obj-$(CONFIG_ACPI_BATTERY) += battery.o
45obj-$(CONFIG_ACPI_BUTTON) += button.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070046obj-$(CONFIG_ACPI_FAN) += fan.o
Len Brownc8f7a622006-07-09 17:22:28 -040047obj-$(CONFIG_ACPI_DOCK) += dock.o
Kristen Carlson Accardi01b57e72006-10-20 14:30:25 -070048obj-$(CONFIG_ACPI_BAY) += bay.o
49obj-$(CONFIG_ACPI_VIDEO) += video.o
Len Brown6153df72005-08-25 12:27:09 -040050obj-y += pci_root.o pci_link.o pci_irq.o pci_bind.o
Alex Chiang8344b562008-06-10 15:30:42 -060051obj-$(CONFIG_ACPI_PCI_SLOT) += pci_slot.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070052obj-$(CONFIG_ACPI_POWER) += power.o
53obj-$(CONFIG_ACPI_PROCESSOR) += processor.o
54obj-$(CONFIG_ACPI_CONTAINER) += container.o
55obj-$(CONFIG_ACPI_THERMAL) += thermal.o
56obj-$(CONFIG_ACPI_SYSTEM) += system.o event.o
57obj-$(CONFIG_ACPI_DEBUG) += debug.o
58obj-$(CONFIG_ACPI_NUMA) += numa.o
Carlos Corbachobff431e2008-02-05 02:17:04 +000059obj-$(CONFIG_ACPI_WMI) += wmi.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070060obj-$(CONFIG_ACPI_ASUS) += asus_acpi.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070061obj-$(CONFIG_ACPI_TOSHIBA) += toshiba_acpi.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070062obj-$(CONFIG_ACPI_HOTPLUG_MEMORY) += acpi_memhotplug.o
Alexey Starikovskiyfdcedbb2007-11-19 16:33:45 +030063obj-$(CONFIG_ACPI_PROCFS_POWER) += cm_sbs.o
Alexey Starikovskiy91087df2007-09-26 19:43:28 +040064obj-$(CONFIG_ACPI_SBS) += sbshc.o
Alexey Starikovskiybbafbec2008-02-09 03:22:13 -050065obj-$(CONFIG_ACPI_SBS) += sbs.o