blob: 5984b4f6715a95064e72d53938a4f8681bbb5714 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Makefile for the Linux ACPI interpreter
3#
4
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#
Len Brown84663612005-08-24 12:09:07 -040024obj-y += osl.o utils.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
35processor-objs += processor_perflib.o
36endif
37
Len Brown76f58582005-08-24 12:10:49 -040038obj-y += sleep/
39obj-y += bus.o glue.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070040obj-$(CONFIG_ACPI_AC) += ac.o
41obj-$(CONFIG_ACPI_BATTERY) += battery.o
42obj-$(CONFIG_ACPI_BUTTON) += button.o
43obj-$(CONFIG_ACPI_EC) += ec.o
44obj-$(CONFIG_ACPI_FAN) += fan.o
Luming Yufb9802f2005-03-18 18:03:45 -050045obj-$(CONFIG_ACPI_VIDEO) += video.o
46obj-$(CONFIG_ACPI_HOTKEY) += hotkey.o
Len Brown6153df72005-08-25 12:27:09 -040047obj-y += pci_root.o pci_link.o pci_irq.o pci_bind.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070048obj-$(CONFIG_ACPI_POWER) += power.o
49obj-$(CONFIG_ACPI_PROCESSOR) += processor.o
50obj-$(CONFIG_ACPI_CONTAINER) += container.o
51obj-$(CONFIG_ACPI_THERMAL) += thermal.o
52obj-$(CONFIG_ACPI_SYSTEM) += system.o event.o
53obj-$(CONFIG_ACPI_DEBUG) += debug.o
54obj-$(CONFIG_ACPI_NUMA) += numa.o
55obj-$(CONFIG_ACPI_ASUS) += asus_acpi.o
56obj-$(CONFIG_ACPI_IBM) += ibm_acpi.o
57obj-$(CONFIG_ACPI_TOSHIBA) += toshiba_acpi.o
Len Brown76f58582005-08-24 12:10:49 -040058obj-y += scan.o motherboard.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070059obj-$(CONFIG_ACPI_HOTPLUG_MEMORY) += acpi_memhotplug.o