blob: 88f54f03e3d228a0bfabb674cc1a72b9a5177151 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Makefile for the Linux ACPI interpreter
Alexey Starikovskiy33d20b62007-03-07 22:28:00 +03003#
Linus Torvalds1da177e2005-04-16 15:20:36 -07004
Len Brown95b482a2009-01-09 00:13:17 -05005ccflags-y := -Os
6ccflags-$(CONFIG_ACPI_DEBUG) += -DACPI_DEBUG_OUTPUT
Linus Torvalds1da177e2005-04-16 15:20:36 -07007
8#
9# ACPI Boot-Time Table Parsing
10#
Javier Martinez Canillas08dc7c72015-11-20 14:35:02 -030011obj-$(CONFIG_ACPI) += tables.o
Al Viro5d8e7aa2005-09-22 01:15:57 -040012obj-$(CONFIG_X86) += blacklist.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070013
14#
15# ACPI Core Subsystem (Interpreter)
16#
Javier Martinez Canillas08dc7c72015-11-20 14:35:02 -030017obj-$(CONFIG_ACPI) += acpi.o \
Len Brown95b482a2009-01-09 00:13:17 -050018 acpica/
19
Rusty Russell5b5d9112009-03-12 09:07:19 +103020# All the builtin files are in the "acpi." module_param namespace.
Lv Zhenge5f660e2016-05-03 16:49:01 +080021acpi-y += osi.o osl.o utils.o reboot.o
Huang Yingb54ac6d2011-12-08 11:25:49 +080022acpi-y += nvs.o
Rusty Russell5b5d9112009-03-12 09:07:19 +103023
Rafael J. Wysockiec2cd812012-11-02 01:40:09 +010024# Power management related files
Rusty Russell5b5d9112009-03-12 09:07:19 +103025acpi-y += wakeup.o
Graeme Gregory6e0a0ea2015-03-24 14:02:39 +000026acpi-$(CONFIG_ACPI_SYSTEM_POWER_STATES_SUPPORT) += sleep.o
Rafael J. Wysockic2efefb2015-07-17 22:53:43 +020027acpi-y += device_sysfs.o device_pm.o
Huang Yingb54ac6d2011-12-08 11:25:49 +080028acpi-$(CONFIG_ACPI_SLEEP) += proc.o
Len Brown95b482a2009-01-09 00:13:17 -050029
Linus Torvalds1da177e2005-04-16 15:20:36 -070030
31#
32# ACPI Bus and Device Drivers
33#
Rusty Russell5b5d9112009-03-12 09:07:19 +103034acpi-y += bus.o glue.o
35acpi-y += scan.o
Rafael J. Wysocki046d9ce2012-11-15 00:30:01 +010036acpi-y += resource.o
Rafael J. Wysockiac212b62013-05-03 00:26:22 +020037acpi-y += acpi_processor.o
Alex Chiang4d5d4cd2010-02-22 12:11:14 -070038acpi-y += processor_core.o
Hanjun Guo46ba51e2014-07-18 18:02:54 +080039acpi-$(CONFIG_ARCH_MIGHT_HAVE_ACPI_PDC) += processor_pdc.o
Rusty Russell5b5d9112009-03-12 09:07:19 +103040acpi-y += ec.o
41acpi-$(CONFIG_ACPI_DOCK) += dock.o
Rafael J. Wysocki38a9a672012-12-23 00:02:54 +010042acpi-y += pci_root.o pci_link.o pci_irq.o
Ken Xue92082a82015-02-06 08:27:51 +080043acpi-y += acpi_lpss.o acpi_apd.o
Mika Westerberg91e56872012-10-31 22:45:02 +010044acpi-y += acpi_platform.o
Zhang Ruieec15ed2014-05-30 04:23:01 +020045acpi-y += acpi_pnp.o
Graeme Gregory6ce2e182016-01-20 20:29:27 +060046acpi-$(CONFIG_ARM_AMBA) += acpi_amba.o
Rusty Russell5b5d9112009-03-12 09:07:19 +103047acpi-y += power.o
Zhang Rui47f5c892010-07-15 10:46:33 +080048acpi-y += event.o
Sinan Kaya3db80c22016-02-07 10:00:31 -050049acpi-$(CONFIG_ACPI_REDUCED_HARDWARE_ONLY) += evged.o
Zhang Rui1c8fce22010-07-15 10:46:30 +080050acpi-y += sysfs.o
Mika Westerbergffdcd952014-10-21 13:33:55 +020051acpi-y += property.o
Lan Tianyu2fa97fe2013-06-05 02:27:50 +000052acpi-$(CONFIG_X86) += acpi_cmos_rtc.o
Zhang Ruia25ee922010-07-15 10:46:15 +080053acpi-$(CONFIG_DEBUG_FS) += debugfs.o
Rusty Russell5b5d9112009-03-12 09:07:19 +103054acpi-$(CONFIG_ACPI_NUMA) += numa.o
Lan Tianyue2a7c3d2014-05-04 11:07:24 +080055acpi-$(CONFIG_ACPI_PROCFS_POWER) += cm_sbs.o
Srinivas Pandruvadac55d6282015-01-28 11:56:46 -080056acpi-y += acpi_lpat.o
Lorenzo Pieralisid8f4f162015-03-24 17:58:51 +000057acpi-$(CONFIG_ACPI_GENERIC_GSI) += gsi.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070058
Rusty Russell5b5d9112009-03-12 09:07:19 +103059# These are (potentially) separate modules
Matthew Garrett40337412012-10-16 15:53:37 -050060
61# IPMI may be used by other drivers, so it has to initialise before them
62obj-$(CONFIG_ACPI_IPMI) += acpi_ipmi.o
63
Linus Torvalds1da177e2005-04-16 15:20:36 -070064obj-$(CONFIG_ACPI_AC) += ac.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070065obj-$(CONFIG_ACPI_BUTTON) += button.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070066obj-$(CONFIG_ACPI_FAN) += fan.o
Kristen Carlson Accardi01b57e72006-10-20 14:30:25 -070067obj-$(CONFIG_ACPI_VIDEO) += video.o
Alex Chiang8344b562008-06-10 15:30:42 -060068obj-$(CONFIG_ACPI_PCI_SLOT) += pci_slot.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070069obj-$(CONFIG_ACPI_PROCESSOR) += processor.o
Javier Martinez Canillas08dc7c72015-11-20 14:35:02 -030070obj-$(CONFIG_ACPI) += container.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070071obj-$(CONFIG_ACPI_THERMAL) += thermal.o
Dan Williamsb94d5232015-05-19 22:54:31 -040072obj-$(CONFIG_ACPI_NFIT) += nfit.o
Javier Martinez Canillas08dc7c72015-11-20 14:35:02 -030073obj-$(CONFIG_ACPI) += acpi_memhotplug.o
Jiang Liuc1836192015-02-05 13:44:49 +080074obj-$(CONFIG_ACPI_HOTPLUG_IOAPIC) += ioapic.o
Arjan van de Ven0f66af52009-01-10 14:19:05 -050075obj-$(CONFIG_ACPI_BATTERY) += battery.o
Alexey Starikovskiy91087df2007-09-26 19:43:28 +040076obj-$(CONFIG_ACPI_SBS) += sbshc.o
Alexey Starikovskiybbafbec2008-02-09 03:22:13 -050077obj-$(CONFIG_ACPI_SBS) += sbs.o
Huang Ying801eab82010-05-18 14:35:17 +080078obj-$(CONFIG_ACPI_HED) += hed.o
Thomas Renninger1195a092010-07-16 13:11:31 +020079obj-$(CONFIG_ACPI_EC_DEBUGFS) += ec_sys.o
Thomas Renninger526b4af2011-05-26 12:26:24 +020080obj-$(CONFIG_ACPI_CUSTOM_METHOD)+= custom_method.o
Matthew Garrettd1ff4b12012-01-31 13:19:20 -050081obj-$(CONFIG_ACPI_BGRT) += bgrt.o
Ashwin Chaugule337aadf2015-10-02 10:01:19 -040082obj-$(CONFIG_ACPI_CPPC_LIB) += cppc_acpi.o
Lv Zheng836d083012015-12-03 10:43:14 +080083obj-$(CONFIG_ACPI_DEBUGGER_USER) += acpi_dbg.o
Rusty Russell5b5d9112009-03-12 09:07:19 +103084
Len Brownae7d5152009-04-02 22:49:43 -040085# processor has its own "processor." module_param namespace
Ashwin Chaugule5f055862015-08-05 09:40:26 -040086processor-y := processor_driver.o
87processor-$(CONFIG_ACPI_PROCESSOR_IDLE) += processor_idle.o
Ashwin Chaugule239708a2015-08-05 09:40:25 -040088processor-$(CONFIG_ACPI_CPU_FREQ_PSS) += processor_throttling.o \
89 processor_thermal.o
Len Brownae7d5152009-04-02 22:49:43 -040090processor-$(CONFIG_CPU_FREQ) += processor_perflib.o
Shaohua Li8e0af512009-07-27 18:11:02 -040091
92obj-$(CONFIG_ACPI_PROCESSOR_AGGREGATOR) += acpi_pad.o
Huang Yinga643ce22010-05-18 14:35:12 +080093
94obj-$(CONFIG_ACPI_APEI) += apei/
Chen, Gong4b3db702013-10-21 14:29:25 -070095
96obj-$(CONFIG_ACPI_EXTLOG) += acpi_extlog.o
Aaron Lub1eea852014-11-24 17:21:54 +080097
98obj-$(CONFIG_PMIC_OPREGION) += pmic/intel_pmic.o
99obj-$(CONFIG_CRC_PMIC_OPREGION) += pmic/intel_pmic_crc.o
Aaron Lud8139f62014-11-24 17:24:47 +0800100obj-$(CONFIG_XPOWER_PMIC_OPREGION) += pmic/intel_pmic_xpower.o
Bin Gao9b928c72016-06-23 17:48:51 -0700101obj-$(CONFIG_BXT_WC_PMIC_OPREGION) += pmic/intel_pmic_bxtwc.o
Hans de Goede14ca7a472015-06-16 16:27:47 +0200102
Mika Westerbergfafe5302016-07-11 15:13:36 +0200103obj-$(CONFIG_ACPI_CONFIGFS) += acpi_configfs.o
Hans de Goede14ca7a472015-06-16 16:27:47 +0200104
105video-objs += acpi_video.o video_detect.o
Srinivas Pandruvada6256ebd2016-07-17 13:45:32 -0700106obj-y += dptf/