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 | # |
Len Brown | 888ba6c | 2005-08-24 12:07:20 -0400 | [diff] [blame] | 11 | obj-y += 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 | # |
Rusty Russell | 5b5d911 | 2009-03-12 09:07:19 +1030 | [diff] [blame] | 17 | obj-y += 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. |
| 21 | acpi-y += osl.o utils.o reboot.o |
Huang Ying | 1565129 | 2010-05-18 14:35:11 +0800 | [diff] [blame^] | 22 | acpi-y += atomicio.o |
Matt Domsch | 0584396 | 2009-11-02 11:51:24 -0600 | [diff] [blame] | 23 | acpi-y += hest.o |
Rusty Russell | 5b5d911 | 2009-03-12 09:07:19 +1030 | [diff] [blame] | 24 | |
Len Brown | 95b482a | 2009-01-09 00:13:17 -0500 | [diff] [blame] | 25 | # sleep related files |
Rusty Russell | 5b5d911 | 2009-03-12 09:07:19 +1030 | [diff] [blame] | 26 | acpi-y += wakeup.o |
| 27 | acpi-y += sleep.o |
| 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 |
Alex Chiang | 4d5d4cd | 2010-02-22 12:11:14 -0700 | [diff] [blame] | 36 | acpi-y += processor_core.o |
Rusty Russell | 5b5d911 | 2009-03-12 09:07:19 +1030 | [diff] [blame] | 37 | acpi-y += ec.o |
| 38 | acpi-$(CONFIG_ACPI_DOCK) += dock.o |
| 39 | acpi-y += pci_root.o pci_link.o pci_irq.o pci_bind.o |
| 40 | acpi-y += power.o |
| 41 | acpi-y += system.o event.o |
| 42 | acpi-$(CONFIG_ACPI_DEBUG) += debug.o |
| 43 | acpi-$(CONFIG_ACPI_NUMA) += numa.o |
| 44 | acpi-$(CONFIG_ACPI_PROCFS_POWER) += cm_sbs.o |
| 45 | ifdef CONFIG_ACPI_VIDEO |
| 46 | acpi-y += video_detect.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 47 | endif |
| 48 | |
Rusty Russell | 5b5d911 | 2009-03-12 09:07:19 +1030 | [diff] [blame] | 49 | # These are (potentially) separate modules |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 50 | obj-$(CONFIG_ACPI_AC) += ac.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 51 | obj-$(CONFIG_ACPI_BUTTON) += button.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 52 | obj-$(CONFIG_ACPI_FAN) += fan.o |
Kristen Carlson Accardi | 01b57e7 | 2006-10-20 14:30:25 -0700 | [diff] [blame] | 53 | obj-$(CONFIG_ACPI_VIDEO) += video.o |
Alex Chiang | 8344b56 | 2008-06-10 15:30:42 -0600 | [diff] [blame] | 54 | obj-$(CONFIG_ACPI_PCI_SLOT) += pci_slot.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 55 | obj-$(CONFIG_ACPI_PROCESSOR) += processor.o |
| 56 | obj-$(CONFIG_ACPI_CONTAINER) += container.o |
| 57 | obj-$(CONFIG_ACPI_THERMAL) += thermal.o |
Rusty Russell | 5b5d911 | 2009-03-12 09:07:19 +1030 | [diff] [blame] | 58 | obj-$(CONFIG_ACPI_HOTPLUG_MEMORY) += acpi_memhotplug.o |
Arjan van de Ven | 0f66af5 | 2009-01-10 14:19:05 -0500 | [diff] [blame] | 59 | obj-$(CONFIG_ACPI_BATTERY) += battery.o |
Alexey Starikovskiy | 91087df | 2007-09-26 19:43:28 +0400 | [diff] [blame] | 60 | obj-$(CONFIG_ACPI_SBS) += sbshc.o |
Alexey Starikovskiy | bbafbec | 2008-02-09 03:22:13 -0500 | [diff] [blame] | 61 | obj-$(CONFIG_ACPI_SBS) += sbs.o |
Darrick J. Wong | de584af | 2009-09-18 12:41:09 -0700 | [diff] [blame] | 62 | obj-$(CONFIG_ACPI_POWER_METER) += power_meter.o |
Rusty Russell | 5b5d911 | 2009-03-12 09:07:19 +1030 | [diff] [blame] | 63 | |
Len Brown | ae7d515 | 2009-04-02 22:49:43 -0400 | [diff] [blame] | 64 | # processor has its own "processor." module_param namespace |
Alex Chiang | 0131aa3 | 2010-02-22 12:11:08 -0700 | [diff] [blame] | 65 | processor-y := processor_driver.o processor_throttling.o |
Len Brown | ae7d515 | 2009-04-02 22:49:43 -0400 | [diff] [blame] | 66 | processor-y += processor_idle.o processor_thermal.o |
| 67 | processor-$(CONFIG_CPU_FREQ) += processor_perflib.o |
Shaohua Li | 8e0af51 | 2009-07-27 18:11:02 -0400 | [diff] [blame] | 68 | |
| 69 | obj-$(CONFIG_ACPI_PROCESSOR_AGGREGATOR) += acpi_pad.o |