GNU Linux-libre 4.4.289-gnu1
[releases.git] / drivers / acpi / Makefile
1 #
2 # Makefile for the Linux ACPI interpreter
3 #
4
5 ccflags-$(CONFIG_ACPI_DEBUG)    += -DACPI_DEBUG_OUTPUT
6
7 #
8 # ACPI Boot-Time Table Parsing
9 #
10 obj-y                           += tables.o
11 obj-$(CONFIG_X86)               += blacklist.o
12
13 #
14 # ACPI Core Subsystem (Interpreter)
15 #
16 obj-y                           += acpi.o \
17                                         acpica/
18
19 # All the builtin files are in the "acpi." module_param namespace.
20 acpi-y                          += osl.o utils.o reboot.o
21 acpi-y                          += nvs.o
22
23 # Power management related files
24 acpi-y                          += wakeup.o
25 acpi-$(CONFIG_ACPI_SYSTEM_POWER_STATES_SUPPORT) += sleep.o
26 acpi-y                          += device_sysfs.o device_pm.o
27 acpi-$(CONFIG_ACPI_SLEEP)       += proc.o
28
29
30 #
31 # ACPI Bus and Device Drivers
32 #
33 acpi-y                          += bus.o glue.o
34 acpi-y                          += scan.o
35 acpi-y                          += resource.o
36 acpi-y                          += acpi_processor.o
37 acpi-y                          += processor_core.o
38 acpi-$(CONFIG_ARCH_MIGHT_HAVE_ACPI_PDC) += processor_pdc.o
39 acpi-y                          += ec.o
40 acpi-$(CONFIG_ACPI_DOCK)        += dock.o
41 acpi-y                          += pci_root.o pci_link.o pci_irq.o
42 acpi-y                          += acpi_lpss.o acpi_apd.o
43 acpi-y                          += acpi_platform.o
44 acpi-y                          += acpi_pnp.o
45 acpi-y                          += int340x_thermal.o
46 acpi-y                          += power.o
47 acpi-y                          += event.o
48 acpi-y                          += sysfs.o
49 acpi-y                          += property.o
50 acpi-$(CONFIG_X86)              += acpi_cmos_rtc.o
51 acpi-$(CONFIG_DEBUG_FS)         += debugfs.o
52 acpi-$(CONFIG_ACPI_NUMA)        += numa.o
53 acpi-$(CONFIG_ACPI_PROCFS_POWER) += cm_sbs.o
54 acpi-y                          += acpi_lpat.o
55 acpi-$(CONFIG_ACPI_GENERIC_GSI) += gsi.o
56
57 # These are (potentially) separate modules
58
59 # IPMI may be used by other drivers, so it has to initialise before them
60 obj-$(CONFIG_ACPI_IPMI)         += acpi_ipmi.o
61
62 obj-$(CONFIG_ACPI_AC)           += ac.o
63 obj-$(CONFIG_ACPI_BUTTON)       += button.o
64 obj-$(CONFIG_ACPI_FAN)          += fan.o
65 obj-$(CONFIG_ACPI_VIDEO)        += video.o
66 obj-$(CONFIG_ACPI_PCI_SLOT)     += pci_slot.o
67 obj-$(CONFIG_ACPI_PROCESSOR)    += processor.o
68 obj-y                           += container.o
69 obj-$(CONFIG_ACPI_THERMAL)      += thermal.o
70 obj-$(CONFIG_ACPI_NFIT)         += nfit.o
71 obj-y                           += acpi_memhotplug.o
72 obj-$(CONFIG_ACPI_HOTPLUG_IOAPIC) += ioapic.o
73 obj-$(CONFIG_ACPI_BATTERY)      += battery.o
74 obj-$(CONFIG_ACPI_SBS)          += sbshc.o
75 obj-$(CONFIG_ACPI_SBS)          += sbs.o
76 obj-$(CONFIG_ACPI_HED)          += hed.o
77 obj-$(CONFIG_ACPI_EC_DEBUGFS)   += ec_sys.o
78 obj-$(CONFIG_ACPI_CUSTOM_METHOD)+= custom_method.o
79 obj-$(CONFIG_ACPI_BGRT)         += bgrt.o
80 obj-$(CONFIG_ACPI_CPPC_LIB)     += cppc_acpi.o
81
82 # processor has its own "processor." module_param namespace
83 processor-y                     := processor_driver.o
84 processor-$(CONFIG_ACPI_PROCESSOR_IDLE) += processor_idle.o
85 processor-$(CONFIG_ACPI_CPU_FREQ_PSS)   += processor_throttling.o       \
86         processor_thermal.o
87 processor-$(CONFIG_CPU_FREQ)    += processor_perflib.o
88
89 obj-$(CONFIG_ACPI_PROCESSOR_AGGREGATOR) += acpi_pad.o
90
91 obj-$(CONFIG_ACPI_APEI)         += apei/
92
93 obj-$(CONFIG_ACPI_EXTLOG)       += acpi_extlog.o
94
95 obj-$(CONFIG_PMIC_OPREGION)     += pmic/intel_pmic.o
96 obj-$(CONFIG_CRC_PMIC_OPREGION) += pmic/intel_pmic_crc.o
97 obj-$(CONFIG_XPOWER_PMIC_OPREGION) += pmic/intel_pmic_xpower.o
98
99 video-objs                      += acpi_video.o video_detect.o