Staging: phison: add driver to the build system
[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                           += osl.o utils.o reboot.o\
18                                         acpica/
19
20 # sleep related files
21 obj-y                           += wakeup.o
22 obj-y                           += sleep.o
23 obj-$(CONFIG_ACPI_SLEEP)        += proc.o
24
25
26 #
27 # ACPI Bus and Device Drivers
28 #
29 processor-objs  += processor_core.o processor_throttling.o \
30                                 processor_idle.o processor_thermal.o
31 ifdef CONFIG_CPU_FREQ
32 processor-objs  += processor_perflib.o
33 endif
34
35 obj-y                           += bus.o glue.o
36 obj-y                           += scan.o
37 # Keep EC driver first. Initialization of others depend on it.
38 obj-y                           += ec.o
39 obj-$(CONFIG_ACPI_AC)           += ac.o
40 obj-$(CONFIG_ACPI_BATTERY)      += battery.o
41 obj-$(CONFIG_ACPI_BUTTON)       += button.o
42 obj-$(CONFIG_ACPI_FAN)          += fan.o
43 obj-$(CONFIG_ACPI_DOCK)         += dock.o
44 obj-$(CONFIG_ACPI_VIDEO)        += video.o
45 ifdef CONFIG_ACPI_VIDEO
46 obj-y                           += video_detect.o
47 endif
48
49 obj-y                           += pci_root.o pci_link.o pci_irq.o pci_bind.o
50 obj-$(CONFIG_ACPI_PCI_SLOT)     += pci_slot.o
51 obj-$(CONFIG_ACPI_PROCESSOR)    += processor.o
52 obj-$(CONFIG_ACPI_CONTAINER)    += container.o
53 obj-$(CONFIG_ACPI_THERMAL)      += thermal.o
54 obj-y                           += power.o
55 obj-y                           += system.o event.o
56 obj-$(CONFIG_ACPI_DEBUG)        += debug.o
57 obj-$(CONFIG_ACPI_NUMA)         += numa.o
58 obj-$(CONFIG_ACPI_HOTPLUG_MEMORY)       += acpi_memhotplug.o
59 obj-$(CONFIG_ACPI_PROCFS_POWER) += cm_sbs.o
60 obj-$(CONFIG_ACPI_SBS)          += sbshc.o
61 obj-$(CONFIG_ACPI_SBS)          += sbs.o