2 # Makefile for the Linux ACPI interpreter
5 ccflags-
$(CONFIG_ACPI_DEBUG
) += -DACPI_DEBUG_OUTPUT
8 # ACPI Boot-Time Table Parsing
10 obj-
$(CONFIG_ACPI
) += tables.o
11 obj-
$(CONFIG_X86
) += blacklist.o
14 # ACPI Core Subsystem (Interpreter)
16 obj-
$(CONFIG_ACPI
) += acpi.o \
19 # All the builtin files are in the "acpi." module_param namespace.
20 acpi-y
+= osi.o osl.o utils.o reboot.o
23 # Power management related files
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
31 # ACPI Bus and Device Drivers
33 acpi-y
+= bus.o glue.o
36 acpi-y
+= acpi_processor.o
37 acpi-y
+= processor_core.o
38 acpi-
$(CONFIG_ARCH_MIGHT_HAVE_ACPI_PDC
) += processor_pdc.o
40 acpi-
$(CONFIG_ACPI_DOCK
) += dock.o
41 acpi-y
+= pci_root.o pci_link.o pci_irq.o
42 obj-
$(CONFIG_ACPI_MCFG
) += pci_mcfg.o
43 acpi-y
+= acpi_lpss.o acpi_apd.o
44 acpi-y
+= acpi_platform.o
46 acpi-
$(CONFIG_ARM_AMBA
) += acpi_amba.o
49 acpi-
$(CONFIG_ACPI_REDUCED_HARDWARE_ONLY
) += evged.o
52 acpi-
$(CONFIG_X86
) += acpi_cmos_rtc.o
53 acpi-
$(CONFIG_DEBUG_FS
) += debugfs.o
54 acpi-
$(CONFIG_ACPI_NUMA
) += numa.o
55 acpi-
$(CONFIG_ACPI_PROCFS_POWER
) += cm_sbs.o
57 acpi-
$(CONFIG_ACPI_GENERIC_GSI
) += irq.o
58 acpi-
$(CONFIG_ACPI_WATCHDOG
) += acpi_watchdog.o
60 # These are (potentially) separate modules
62 # IPMI may be used by other drivers, so it has to initialise before them
63 obj-
$(CONFIG_ACPI_IPMI
) += acpi_ipmi.o
65 obj-
$(CONFIG_ACPI_AC
) += ac.o
66 obj-
$(CONFIG_ACPI_BUTTON
) += button.o
67 obj-
$(CONFIG_ACPI_FAN
) += fan.o
68 obj-
$(CONFIG_ACPI_VIDEO
) += video.o
69 obj-
$(CONFIG_ACPI_PCI_SLOT
) += pci_slot.o
70 obj-
$(CONFIG_ACPI_PROCESSOR
) += processor.o
71 obj-
$(CONFIG_ACPI
) += container.o
72 obj-
$(CONFIG_ACPI_THERMAL
) += thermal.o
73 obj-
$(CONFIG_ACPI_NFIT
) += nfit
/
74 obj-
$(CONFIG_ACPI
) += acpi_memhotplug.o
75 obj-
$(CONFIG_ACPI_HOTPLUG_IOAPIC
) += ioapic.o
76 obj-
$(CONFIG_ACPI_BATTERY
) += battery.o
77 obj-
$(CONFIG_ACPI_SBS
) += sbshc.o
78 obj-
$(CONFIG_ACPI_SBS
) += sbs.o
79 obj-
$(CONFIG_ACPI_HED
) += hed.o
80 obj-
$(CONFIG_ACPI_EC_DEBUGFS
) += ec_sys.o
81 obj-
$(CONFIG_ACPI_CUSTOM_METHOD
)+= custom_method.o
82 obj-
$(CONFIG_ACPI_BGRT
) += bgrt.o
83 obj-
$(CONFIG_ACPI_CPPC_LIB
) += cppc_acpi.o
84 obj-
$(CONFIG_ACPI_SPCR_TABLE
) += spcr.o
85 obj-
$(CONFIG_ACPI_DEBUGGER_USER
) += acpi_dbg.o
87 # processor has its own "processor." module_param namespace
88 processor-y
:= processor_driver.o
89 processor-
$(CONFIG_ACPI_PROCESSOR_IDLE
) += processor_idle.o
90 processor-
$(CONFIG_ACPI_CPU_FREQ_PSS
) += processor_throttling.o \
92 processor-
$(CONFIG_CPU_FREQ
) += processor_perflib.o
94 obj-
$(CONFIG_ACPI_PROCESSOR_AGGREGATOR
) += acpi_pad.o
96 obj-
$(CONFIG_ACPI_APEI
) += apei
/
98 obj-
$(CONFIG_ACPI_EXTLOG
) += acpi_extlog.o
100 obj-
$(CONFIG_PMIC_OPREGION
) += pmic
/intel_pmic.o
101 obj-
$(CONFIG_CRC_PMIC_OPREGION
) += pmic
/intel_pmic_crc.o
102 obj-
$(CONFIG_XPOWER_PMIC_OPREGION
) += pmic
/intel_pmic_xpower.o
103 obj-
$(CONFIG_BXT_WC_PMIC_OPREGION
) += pmic
/intel_pmic_bxtwc.o
105 obj-
$(CONFIG_ACPI_CONFIGFS
) += acpi_configfs.o
107 video-objs
+= acpi_video.o video_detect.o
110 obj-
$(CONFIG_ARM64
) += arm64
/