Merge tag 'v3.3.7' into 3.3/master
[zen-stable.git] / drivers / acpi / Makefile
blob1567028d2038ecbe853bfebc7b4e4debd03be8fe
2 # Makefile for the Linux ACPI interpreter
5 ccflags-y := -Os
6 ccflags-$(CONFIG_ACPI_DEBUG) += -DACPI_DEBUG_OUTPUT
9 # ACPI Boot-Time Table Parsing
11 obj-y += tables.o
12 obj-$(CONFIG_X86) += blacklist.o
15 # ACPI Core Subsystem (Interpreter)
17 obj-y += acpi.o \
18 acpica/
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
24 # sleep related files
25 acpi-y += wakeup.o
26 acpi-y += sleep.o
27 acpi-$(CONFIG_ACPI_SLEEP) += proc.o
31 # ACPI Bus and Device Drivers
33 acpi-y += bus.o glue.o
34 acpi-y += scan.o
35 acpi-y += processor_core.o
36 acpi-y += ec.o
37 acpi-$(CONFIG_ACPI_DOCK) += dock.o
38 acpi-y += pci_root.o pci_link.o pci_irq.o pci_bind.o
39 acpi-y += power.o
40 acpi-y += event.o
41 acpi-y += sysfs.o
42 acpi-$(CONFIG_DEBUG_FS) += debugfs.o
43 acpi-$(CONFIG_ACPI_NUMA) += numa.o
44 acpi-$(CONFIG_ACPI_PROCFS_POWER) += cm_sbs.o
45 ifdef CONFIG_ACPI_VIDEO
46 acpi-y += video_detect.o
47 endif
49 # These are (potentially) separate modules
50 obj-$(CONFIG_ACPI_AC) += ac.o
51 obj-$(CONFIG_ACPI_BUTTON) += button.o
52 obj-$(CONFIG_ACPI_FAN) += fan.o
53 obj-$(CONFIG_ACPI_VIDEO) += video.o
54 obj-$(CONFIG_ACPI_PCI_SLOT) += pci_slot.o
55 obj-$(CONFIG_ACPI_PROCESSOR) += processor.o
56 obj-$(CONFIG_ACPI_CONTAINER) += container.o
57 obj-$(CONFIG_ACPI_THERMAL) += thermal.o
58 obj-$(CONFIG_ACPI_HOTPLUG_MEMORY) += acpi_memhotplug.o
59 obj-$(CONFIG_ACPI_BATTERY) += battery.o
60 obj-$(CONFIG_ACPI_SBS) += sbshc.o
61 obj-$(CONFIG_ACPI_SBS) += sbs.o
62 obj-$(CONFIG_ACPI_HED) += hed.o
63 obj-$(CONFIG_ACPI_EC_DEBUGFS) += ec_sys.o
64 obj-$(CONFIG_ACPI_CUSTOM_METHOD)+= custom_method.o
66 # processor has its own "processor." module_param namespace
67 processor-y := processor_driver.o processor_throttling.o
68 processor-y += processor_idle.o processor_thermal.o
69 processor-$(CONFIG_CPU_FREQ) += processor_perflib.o
71 obj-$(CONFIG_ACPI_PROCESSOR_AGGREGATOR) += acpi_pad.o
72 obj-$(CONFIG_ACPI_IPMI) += acpi_ipmi.o
74 obj-$(CONFIG_ACPI_APEI) += apei/