Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # |
| 2 | # Makefile for the Linux ACPI interpreter |
Alexey Starikovskiy | 33d20b6 | 2007-03-07 22:28:00 +0300 | [diff] [blame] | 3 | # |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 4 | |
Len Brown | 95b482a | 2009-01-09 00:13:17 -0500 | [diff] [blame] | 5 | ccflags-y := -Os |
| 6 | ccflags-$(CONFIG_ACPI_DEBUG) += -DACPI_DEBUG_OUTPUT |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 7 | |
| 8 | # |
| 9 | # ACPI Boot-Time Table Parsing |
| 10 | # |
Javier Martinez Canillas | 08dc7c7 | 2015-11-20 14:35:02 -0300 | [diff] [blame] | 11 | obj-$(CONFIG_ACPI) += tables.o |
Al Viro | 5d8e7aa | 2005-09-22 01:15:57 -0400 | [diff] [blame] | 12 | obj-$(CONFIG_X86) += blacklist.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | |
| 14 | # |
| 15 | # ACPI Core Subsystem (Interpreter) |
| 16 | # |
Javier Martinez Canillas | 08dc7c7 | 2015-11-20 14:35:02 -0300 | [diff] [blame] | 17 | obj-$(CONFIG_ACPI) += acpi.o \ |
Len Brown | 95b482a | 2009-01-09 00:13:17 -0500 | [diff] [blame] | 18 | acpica/ |
| 19 | |
Rusty Russell | 5b5d911 | 2009-03-12 09:07:19 +1030 | [diff] [blame] | 20 | # All the builtin files are in the "acpi." module_param namespace. |
Lv Zheng | e5f660e | 2016-05-03 16:49:01 +0800 | [diff] [blame] | 21 | acpi-y += osi.o osl.o utils.o reboot.o |
Huang Ying | b54ac6d | 2011-12-08 11:25:49 +0800 | [diff] [blame] | 22 | acpi-y += nvs.o |
Rusty Russell | 5b5d911 | 2009-03-12 09:07:19 +1030 | [diff] [blame] | 23 | |
Rafael J. Wysocki | ec2cd81 | 2012-11-02 01:40:09 +0100 | [diff] [blame] | 24 | # Power management related files |
Rusty Russell | 5b5d911 | 2009-03-12 09:07:19 +1030 | [diff] [blame] | 25 | acpi-y += wakeup.o |
Graeme Gregory | 6e0a0ea | 2015-03-24 14:02:39 +0000 | [diff] [blame] | 26 | acpi-$(CONFIG_ACPI_SYSTEM_POWER_STATES_SUPPORT) += sleep.o |
Rafael J. Wysocki | c2efefb | 2015-07-17 22:53:43 +0200 | [diff] [blame] | 27 | acpi-y += device_sysfs.o device_pm.o |
Huang Ying | b54ac6d | 2011-12-08 11:25:49 +0800 | [diff] [blame] | 28 | acpi-$(CONFIG_ACPI_SLEEP) += proc.o |
Len Brown | 95b482a | 2009-01-09 00:13:17 -0500 | [diff] [blame] | 29 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 30 | |
| 31 | # |
| 32 | # ACPI Bus and Device Drivers |
| 33 | # |
Rusty Russell | 5b5d911 | 2009-03-12 09:07:19 +1030 | [diff] [blame] | 34 | acpi-y += bus.o glue.o |
| 35 | acpi-y += scan.o |
Rafael J. Wysocki | 046d9ce | 2012-11-15 00:30:01 +0100 | [diff] [blame] | 36 | acpi-y += resource.o |
Rafael J. Wysocki | ac212b6 | 2013-05-03 00:26:22 +0200 | [diff] [blame] | 37 | acpi-y += acpi_processor.o |
Alex Chiang | 4d5d4cd | 2010-02-22 12:11:14 -0700 | [diff] [blame] | 38 | acpi-y += processor_core.o |
Hanjun Guo | 46ba51e | 2014-07-18 18:02:54 +0800 | [diff] [blame] | 39 | acpi-$(CONFIG_ARCH_MIGHT_HAVE_ACPI_PDC) += processor_pdc.o |
Rusty Russell | 5b5d911 | 2009-03-12 09:07:19 +1030 | [diff] [blame] | 40 | acpi-y += ec.o |
| 41 | acpi-$(CONFIG_ACPI_DOCK) += dock.o |
Rafael J. Wysocki | 38a9a67 | 2012-12-23 00:02:54 +0100 | [diff] [blame] | 42 | acpi-y += pci_root.o pci_link.o pci_irq.o |
Ken Xue | 92082a8 | 2015-02-06 08:27:51 +0800 | [diff] [blame] | 43 | acpi-y += acpi_lpss.o acpi_apd.o |
Mika Westerberg | 91e5687 | 2012-10-31 22:45:02 +0100 | [diff] [blame] | 44 | acpi-y += acpi_platform.o |
Zhang Rui | eec15ed | 2014-05-30 04:23:01 +0200 | [diff] [blame] | 45 | acpi-y += acpi_pnp.o |
Graeme Gregory | 6ce2e18 | 2016-01-20 20:29:27 +0600 | [diff] [blame] | 46 | acpi-$(CONFIG_ARM_AMBA) += acpi_amba.o |
Rusty Russell | 5b5d911 | 2009-03-12 09:07:19 +1030 | [diff] [blame] | 47 | acpi-y += power.o |
Zhang Rui | 47f5c89 | 2010-07-15 10:46:33 +0800 | [diff] [blame] | 48 | acpi-y += event.o |
Sinan Kaya | 3db80c2 | 2016-02-07 10:00:31 -0500 | [diff] [blame] | 49 | acpi-$(CONFIG_ACPI_REDUCED_HARDWARE_ONLY) += evged.o |
Zhang Rui | 1c8fce2 | 2010-07-15 10:46:30 +0800 | [diff] [blame] | 50 | acpi-y += sysfs.o |
Mika Westerberg | ffdcd95 | 2014-10-21 13:33:55 +0200 | [diff] [blame] | 51 | acpi-y += property.o |
Lan Tianyu | 2fa97fe | 2013-06-05 02:27:50 +0000 | [diff] [blame] | 52 | acpi-$(CONFIG_X86) += acpi_cmos_rtc.o |
Zhang Rui | a25ee92 | 2010-07-15 10:46:15 +0800 | [diff] [blame] | 53 | acpi-$(CONFIG_DEBUG_FS) += debugfs.o |
Rusty Russell | 5b5d911 | 2009-03-12 09:07:19 +1030 | [diff] [blame] | 54 | acpi-$(CONFIG_ACPI_NUMA) += numa.o |
Lan Tianyu | e2a7c3d | 2014-05-04 11:07:24 +0800 | [diff] [blame] | 55 | acpi-$(CONFIG_ACPI_PROCFS_POWER) += cm_sbs.o |
Srinivas Pandruvada | c55d628 | 2015-01-28 11:56:46 -0800 | [diff] [blame] | 56 | acpi-y += acpi_lpat.o |
Lorenzo Pieralisi | d8f4f16 | 2015-03-24 17:58:51 +0000 | [diff] [blame] | 57 | acpi-$(CONFIG_ACPI_GENERIC_GSI) += gsi.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 58 | |
Rusty Russell | 5b5d911 | 2009-03-12 09:07:19 +1030 | [diff] [blame] | 59 | # These are (potentially) separate modules |
Matthew Garrett | 4033741 | 2012-10-16 15:53:37 -0500 | [diff] [blame] | 60 | |
| 61 | # IPMI may be used by other drivers, so it has to initialise before them |
| 62 | obj-$(CONFIG_ACPI_IPMI) += acpi_ipmi.o |
| 63 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 64 | obj-$(CONFIG_ACPI_AC) += ac.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 65 | obj-$(CONFIG_ACPI_BUTTON) += button.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 66 | obj-$(CONFIG_ACPI_FAN) += fan.o |
Kristen Carlson Accardi | 01b57e7 | 2006-10-20 14:30:25 -0700 | [diff] [blame] | 67 | obj-$(CONFIG_ACPI_VIDEO) += video.o |
Alex Chiang | 8344b56 | 2008-06-10 15:30:42 -0600 | [diff] [blame] | 68 | obj-$(CONFIG_ACPI_PCI_SLOT) += pci_slot.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 69 | obj-$(CONFIG_ACPI_PROCESSOR) += processor.o |
Javier Martinez Canillas | 08dc7c7 | 2015-11-20 14:35:02 -0300 | [diff] [blame] | 70 | obj-$(CONFIG_ACPI) += container.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 71 | obj-$(CONFIG_ACPI_THERMAL) += thermal.o |
Dan Williams | b94d523 | 2015-05-19 22:54:31 -0400 | [diff] [blame] | 72 | obj-$(CONFIG_ACPI_NFIT) += nfit.o |
Javier Martinez Canillas | 08dc7c7 | 2015-11-20 14:35:02 -0300 | [diff] [blame] | 73 | obj-$(CONFIG_ACPI) += acpi_memhotplug.o |
Jiang Liu | c183619 | 2015-02-05 13:44:49 +0800 | [diff] [blame] | 74 | obj-$(CONFIG_ACPI_HOTPLUG_IOAPIC) += ioapic.o |
Arjan van de Ven | 0f66af5 | 2009-01-10 14:19:05 -0500 | [diff] [blame] | 75 | obj-$(CONFIG_ACPI_BATTERY) += battery.o |
Alexey Starikovskiy | 91087df | 2007-09-26 19:43:28 +0400 | [diff] [blame] | 76 | obj-$(CONFIG_ACPI_SBS) += sbshc.o |
Alexey Starikovskiy | bbafbec | 2008-02-09 03:22:13 -0500 | [diff] [blame] | 77 | obj-$(CONFIG_ACPI_SBS) += sbs.o |
Huang Ying | 801eab8 | 2010-05-18 14:35:17 +0800 | [diff] [blame] | 78 | obj-$(CONFIG_ACPI_HED) += hed.o |
Thomas Renninger | 1195a09 | 2010-07-16 13:11:31 +0200 | [diff] [blame] | 79 | obj-$(CONFIG_ACPI_EC_DEBUGFS) += ec_sys.o |
Thomas Renninger | 526b4af | 2011-05-26 12:26:24 +0200 | [diff] [blame] | 80 | obj-$(CONFIG_ACPI_CUSTOM_METHOD)+= custom_method.o |
Matthew Garrett | d1ff4b1 | 2012-01-31 13:19:20 -0500 | [diff] [blame] | 81 | obj-$(CONFIG_ACPI_BGRT) += bgrt.o |
Ashwin Chaugule | 337aadf | 2015-10-02 10:01:19 -0400 | [diff] [blame] | 82 | obj-$(CONFIG_ACPI_CPPC_LIB) += cppc_acpi.o |
Lv Zheng | 836d08301 | 2015-12-03 10:43:14 +0800 | [diff] [blame] | 83 | obj-$(CONFIG_ACPI_DEBUGGER_USER) += acpi_dbg.o |
Rusty Russell | 5b5d911 | 2009-03-12 09:07:19 +1030 | [diff] [blame] | 84 | |
Len Brown | ae7d515 | 2009-04-02 22:49:43 -0400 | [diff] [blame] | 85 | # processor has its own "processor." module_param namespace |
Ashwin Chaugule | 5f05586 | 2015-08-05 09:40:26 -0400 | [diff] [blame] | 86 | processor-y := processor_driver.o |
| 87 | processor-$(CONFIG_ACPI_PROCESSOR_IDLE) += processor_idle.o |
Ashwin Chaugule | 239708a | 2015-08-05 09:40:25 -0400 | [diff] [blame] | 88 | processor-$(CONFIG_ACPI_CPU_FREQ_PSS) += processor_throttling.o \ |
| 89 | processor_thermal.o |
Len Brown | ae7d515 | 2009-04-02 22:49:43 -0400 | [diff] [blame] | 90 | processor-$(CONFIG_CPU_FREQ) += processor_perflib.o |
Shaohua Li | 8e0af51 | 2009-07-27 18:11:02 -0400 | [diff] [blame] | 91 | |
| 92 | obj-$(CONFIG_ACPI_PROCESSOR_AGGREGATOR) += acpi_pad.o |
Huang Ying | a643ce2 | 2010-05-18 14:35:12 +0800 | [diff] [blame] | 93 | |
| 94 | obj-$(CONFIG_ACPI_APEI) += apei/ |
Chen, Gong | 4b3db70 | 2013-10-21 14:29:25 -0700 | [diff] [blame] | 95 | |
| 96 | obj-$(CONFIG_ACPI_EXTLOG) += acpi_extlog.o |
Aaron Lu | b1eea85 | 2014-11-24 17:21:54 +0800 | [diff] [blame] | 97 | |
| 98 | obj-$(CONFIG_PMIC_OPREGION) += pmic/intel_pmic.o |
| 99 | obj-$(CONFIG_CRC_PMIC_OPREGION) += pmic/intel_pmic_crc.o |
Aaron Lu | d8139f6 | 2014-11-24 17:24:47 +0800 | [diff] [blame] | 100 | obj-$(CONFIG_XPOWER_PMIC_OPREGION) += pmic/intel_pmic_xpower.o |
Bin Gao | 9b928c7 | 2016-06-23 17:48:51 -0700 | [diff] [blame] | 101 | obj-$(CONFIG_BXT_WC_PMIC_OPREGION) += pmic/intel_pmic_bxtwc.o |
Hans de Goede | 14ca7a47 | 2015-06-16 16:27:47 +0200 | [diff] [blame] | 102 | |
Mika Westerberg | fafe530 | 2016-07-11 15:13:36 +0200 | [diff] [blame] | 103 | obj-$(CONFIG_ACPI_CONFIGFS) += acpi_configfs.o |
Hans de Goede | 14ca7a47 | 2015-06-16 16:27:47 +0200 | [diff] [blame] | 104 | |
| 105 | video-objs += acpi_video.o video_detect.o |
Srinivas Pandruvada | 6256ebd | 2016-07-17 13:45:32 -0700 | [diff] [blame] | 106 | obj-y += dptf/ |