Merge branch 'for-linus' of git://neil.brown.name/md
[linux-2.6] / drivers / acpi / Makefile
1 #
2 # Makefile for the Linux ACPI interpreter
3 #
4
5 ccflags-y                       := -Os
6 ccflags-$(CONFIG_ACPI_DEBUG)    += -DACPI_DEBUG_OUTPUT
7
8 #
9 # ACPI Boot-Time Table Parsing
10 #
11 obj-y                           += tables.o
12 obj-$(CONFIG_X86)               += blacklist.o
13
14 #
15 # ACPI Core Subsystem (Interpreter)
16 #
17 obj-y                           += acpi.o \
18                                         acpica/
19
20 # All the builtin files are in the "acpi." module_param namespace.
21 acpi-y                          += osl.o utils.o reboot.o
22
23 # sleep related files
24 acpi-y                          += wakeup.o
25 acpi-y                          += sleep.o
26 acpi-$(CONFIG_ACPI_SLEEP)       += proc.o
27
28
29 #
30 # ACPI Bus and Device Drivers
31 #
32 acpi-y                          += bus.o glue.o
33 acpi-y                          += scan.o
34 acpi-y                          += ec.o
35 acpi-$(CONFIG_ACPI_DOCK)        += dock.o
36 acpi-y                          += pci_root.o pci_link.o pci_irq.o pci_bind.o
37 acpi-y                          += power.o
38 acpi-y                          += system.o event.o
39 acpi-$(CONFIG_ACPI_DEBUG)       += debug.o
40 acpi-$(CONFIG_ACPI_NUMA)        += numa.o
41 acpi-$(CONFIG_ACPI_PROCFS_POWER) += cm_sbs.o
42 ifdef CONFIG_ACPI_VIDEO
43 acpi-y                          += video_detect.o
44 endif
45
46 # These are (potentially) separate modules
47 obj-$(CONFIG_ACPI_AC)           += ac.o
48 obj-$(CONFIG_ACPI_BUTTON)       += button.o
49 obj-$(CONFIG_ACPI_FAN)          += fan.o
50 obj-$(CONFIG_ACPI_VIDEO)        += video.o
51 obj-$(CONFIG_ACPI_PCI_SLOT)     += pci_slot.o
52 obj-$(CONFIG_ACPI_PROCESSOR)    += processor.o
53 obj-$(CONFIG_ACPI_CONTAINER)    += container.o
54 obj-$(CONFIG_ACPI_THERMAL)      += thermal.o
55 obj-$(CONFIG_ACPI_HOTPLUG_MEMORY) += acpi_memhotplug.o
56 obj-$(CONFIG_ACPI_BATTERY)      += battery.o
57 obj-$(CONFIG_ACPI_SBS)          += sbshc.o
58 obj-$(CONFIG_ACPI_SBS)          += sbs.o
59
60 # processor has its own "processor." module_param namespace
61 processor-y                     := processor_core.o processor_throttling.o
62 processor-y                     += processor_idle.o processor_thermal.o
63 processor-$(CONFIG_CPU_FREQ)    += processor_perflib.o