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