Merge tag 'block-5.11-2021-01-10' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / drivers / acpi / Makefile
blob076894a3330fd50abc4047b2f64b7ea4389073ed
1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for the Linux ACPI interpreter
6 ccflags-$(CONFIG_ACPI_DEBUG) += -DACPI_DEBUG_OUTPUT
9 # ACPI Boot-Time Table Parsing
11 obj-$(CONFIG_ACPI) += tables.o
12 obj-$(CONFIG_X86) += blacklist.o
15 # ACPI Core Subsystem (Interpreter)
17 obj-$(CONFIG_ACPI) += acpi.o \
18 acpica/
20 # All the builtin files are in the "acpi." module_param namespace.
21 acpi-y += osi.o osl.o utils.o reboot.o
22 acpi-y += nvs.o
24 # Power management related files
25 acpi-y += wakeup.o
26 acpi-$(CONFIG_ACPI_SYSTEM_POWER_STATES_SUPPORT) += sleep.o
27 acpi-y += device_sysfs.o device_pm.o
28 acpi-$(CONFIG_ACPI_SLEEP) += proc.o
32 # ACPI Bus and Device Drivers
34 acpi-y += bus.o glue.o
35 acpi-y += scan.o
36 acpi-y += resource.o
37 acpi-y += acpi_processor.o
38 acpi-y += processor_core.o
39 acpi-$(CONFIG_ARCH_MIGHT_HAVE_ACPI_PDC) += processor_pdc.o
40 acpi-y += ec.o
41 acpi-$(CONFIG_ACPI_DOCK) += dock.o
42 acpi-$(CONFIG_PCI) += pci_root.o pci_link.o pci_irq.o
43 obj-$(CONFIG_ACPI_MCFG) += pci_mcfg.o
44 acpi-$(CONFIG_PCI) += acpi_lpss.o
45 acpi-y += acpi_apd.o
46 acpi-y += acpi_platform.o
47 acpi-y += acpi_pnp.o
48 acpi-$(CONFIG_ARM_AMBA) += acpi_amba.o
49 acpi-y += power.o
50 acpi-y += event.o
51 acpi-y += evged.o
52 acpi-y += sysfs.o
53 acpi-y += property.o
54 acpi-$(CONFIG_X86) += acpi_cmos_rtc.o
55 acpi-$(CONFIG_X86) += x86/apple.o
56 acpi-$(CONFIG_X86) += x86/utils.o
57 acpi-$(CONFIG_X86) += x86/s2idle.o
58 acpi-$(CONFIG_DEBUG_FS) += debugfs.o
59 acpi-y += acpi_lpat.o
60 acpi-$(CONFIG_ACPI_LPIT) += acpi_lpit.o
61 acpi-$(CONFIG_ACPI_GENERIC_GSI) += irq.o
62 acpi-$(CONFIG_ACPI_WATCHDOG) += acpi_watchdog.o
64 # Address translation
65 acpi-$(CONFIG_ACPI_ADXL) += acpi_adxl.o
67 # These are (potentially) separate modules
69 # IPMI may be used by other drivers, so it has to initialise before them
70 obj-$(CONFIG_ACPI_IPMI) += acpi_ipmi.o
72 obj-$(CONFIG_ACPI_AC) += ac.o
73 obj-$(CONFIG_ACPI_BUTTON) += button.o
74 obj-$(CONFIG_ACPI_TINY_POWER_BUTTON) += tiny-power-button.o
75 obj-$(CONFIG_ACPI_FAN) += fan.o
76 obj-$(CONFIG_ACPI_VIDEO) += video.o
77 obj-$(CONFIG_ACPI_TAD) += acpi_tad.o
78 obj-$(CONFIG_ACPI_PCI_SLOT) += pci_slot.o
79 obj-$(CONFIG_ACPI_PROCESSOR) += processor.o
80 obj-$(CONFIG_ACPI) += container.o
81 obj-$(CONFIG_ACPI_THERMAL) += thermal.o
82 obj-$(CONFIG_ACPI_NFIT) += nfit/
83 obj-$(CONFIG_ACPI_NUMA) += numa/
84 obj-$(CONFIG_ACPI) += acpi_memhotplug.o
85 obj-$(CONFIG_ACPI_HOTPLUG_IOAPIC) += ioapic.o
86 obj-$(CONFIG_ACPI_BATTERY) += battery.o
87 obj-$(CONFIG_ACPI_SBS) += sbshc.o
88 obj-$(CONFIG_ACPI_SBS) += sbs.o
89 obj-$(CONFIG_ACPI_HED) += hed.o
90 obj-$(CONFIG_ACPI_EC_DEBUGFS) += ec_sys.o
91 obj-$(CONFIG_ACPI_CUSTOM_METHOD)+= custom_method.o
92 obj-$(CONFIG_ACPI_BGRT) += bgrt.o
93 obj-$(CONFIG_ACPI_CPPC_LIB) += cppc_acpi.o
94 obj-$(CONFIG_ACPI_SPCR_TABLE) += spcr.o
95 obj-$(CONFIG_ACPI_DEBUGGER_USER) += acpi_dbg.o
96 obj-$(CONFIG_ACPI_PPTT) += pptt.o
98 # processor has its own "processor." module_param namespace
99 processor-y := processor_driver.o
100 processor-$(CONFIG_ACPI_PROCESSOR_IDLE) += processor_idle.o
101 processor-$(CONFIG_ACPI_CPU_FREQ_PSS) += processor_throttling.o \
102 processor_thermal.o
103 processor-$(CONFIG_CPU_FREQ) += processor_perflib.o
105 obj-$(CONFIG_ACPI_PROCESSOR_AGGREGATOR) += acpi_pad.o
107 obj-$(CONFIG_ACPI_APEI) += apei/
109 obj-$(CONFIG_ACPI_EXTLOG) += acpi_extlog.o
111 obj-$(CONFIG_ACPI_CONFIGFS) += acpi_configfs.o
113 obj-y += pmic/
115 video-objs += acpi_video.o video_detect.o
116 obj-y += dptf/
118 obj-$(CONFIG_ARM64) += arm64/