ACPI / PM: Allow device power states to be used for CONFIG_PM unset
[linux-3.10.git] / 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 acpi-y                          += nvs.o
23
24 # Power management related files
25 acpi-y                          += wakeup.o
26 acpi-y                          += sleep.o
27 acpi-y                          += device_pm.o
28 acpi-$(CONFIG_ACPI_SLEEP)       += proc.o
29
30
31 #
32 # ACPI Bus and Device Drivers
33 #
34 acpi-y                          += bus.o glue.o
35 acpi-y                          += scan.o
36 acpi-y                          += resource.o
37 acpi-y                          += processor_core.o
38 acpi-y                          += ec.o
39 acpi-$(CONFIG_ACPI_DOCK)        += dock.o
40 acpi-y                          += pci_root.o pci_link.o pci_irq.o
41 acpi-y                          += csrt.o
42 acpi-$(CONFIG_X86_INTEL_LPSS)   += acpi_lpss.o
43 acpi-y                          += acpi_platform.o
44 acpi-y                          += power.o
45 acpi-y                          += event.o
46 acpi-y                          += sysfs.o
47 acpi-$(CONFIG_DEBUG_FS)         += debugfs.o
48 acpi-$(CONFIG_ACPI_NUMA)        += numa.o
49 acpi-$(CONFIG_ACPI_PROCFS_POWER) += cm_sbs.o
50 ifdef CONFIG_ACPI_VIDEO
51 acpi-y                          += video_detect.o
52 endif
53
54 # These are (potentially) separate modules
55
56 # IPMI may be used by other drivers, so it has to initialise before them
57 obj-$(CONFIG_ACPI_IPMI)         += acpi_ipmi.o
58
59 obj-$(CONFIG_ACPI_AC)           += ac.o
60 obj-$(CONFIG_ACPI_BUTTON)       += button.o
61 obj-$(CONFIG_ACPI_FAN)          += fan.o
62 obj-$(CONFIG_ACPI_VIDEO)        += video.o
63 obj-$(CONFIG_ACPI_PCI_SLOT)     += pci_slot.o
64 obj-$(CONFIG_ACPI_PROCESSOR)    += processor.o
65 obj-$(CONFIG_ACPI_CONTAINER)    += container.o
66 obj-$(CONFIG_ACPI_THERMAL)      += thermal.o
67 obj-$(CONFIG_ACPI_HOTPLUG_MEMORY) += acpi_memhotplug.o
68 obj-$(CONFIG_ACPI_BATTERY)      += battery.o
69 obj-$(CONFIG_ACPI_SBS)          += sbshc.o
70 obj-$(CONFIG_ACPI_SBS)          += sbs.o
71 obj-$(CONFIG_ACPI_HED)          += hed.o
72 obj-$(CONFIG_ACPI_EC_DEBUGFS)   += ec_sys.o
73 obj-$(CONFIG_ACPI_CUSTOM_METHOD)+= custom_method.o
74 obj-$(CONFIG_ACPI_BGRT)         += bgrt.o
75 obj-$(CONFIG_ACPI_I2C)          += acpi_i2c.o
76
77 # processor has its own "processor." module_param namespace
78 processor-y                     := processor_driver.o processor_throttling.o
79 processor-y                     += processor_idle.o processor_thermal.o
80 processor-$(CONFIG_CPU_FREQ)    += processor_perflib.o
81
82 obj-$(CONFIG_ACPI_PROCESSOR_AGGREGATOR) += acpi_pad.o
83
84 obj-$(CONFIG_ACPI_APEI)         += apei/