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 |
| 22 | |
Len Brown | 95b482a | 2009-01-09 00:13:17 -0500 | [diff] [blame] | 23 | # sleep related files |
Rusty Russell | 5b5d911 | 2009-03-12 09:07:19 +1030 | [diff] [blame] | 24 | acpi-y += wakeup.o |
| 25 | acpi-y += sleep.o |
| 26 | acpi-$(CONFIG_ACPI_SLEEP) += proc.o |
Len Brown | 95b482a | 2009-01-09 00:13:17 -0500 | [diff] [blame] | 27 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 28 | |
| 29 | # |
| 30 | # ACPI Bus and Device Drivers |
| 31 | # |
Rusty Russell | 5b5d911 | 2009-03-12 09:07:19 +1030 | [diff] [blame] | 32 | acpi-y += bus.o glue.o |
| 33 | acpi-y += scan.o |
| 34 | # Keep EC driver first. Initialization of others depend on it. |
| 35 | acpi-y += ec.o |
| 36 | acpi-$(CONFIG_ACPI_DOCK) += dock.o |
| 37 | acpi-y += pci_root.o pci_link.o pci_irq.o pci_bind.o |
| 38 | acpi-y += power.o |
| 39 | acpi-y += system.o event.o |
| 40 | acpi-$(CONFIG_ACPI_DEBUG) += debug.o |
| 41 | acpi-$(CONFIG_ACPI_NUMA) += numa.o |
| 42 | acpi-$(CONFIG_ACPI_PROCFS_POWER) += cm_sbs.o |
| 43 | ifdef CONFIG_ACPI_VIDEO |
| 44 | acpi-y += video_detect.o |
| 45 | endif |
| 46 | |
| 47 | # These are (potentially) separate modules |
| 48 | obj-$(CONFIG_ACPI_AC) += ac.o |
| 49 | obj-$(CONFIG_ACPI_BATTERY) += battery.o |
| 50 | obj-$(CONFIG_ACPI_BUTTON) += button.o |
| 51 | obj-$(CONFIG_ACPI_FAN) += fan.o |
| 52 | obj-$(CONFIG_ACPI_VIDEO) += video.o |
| 53 | obj-$(CONFIG_ACPI_PCI_SLOT) += pci_slot.o |
| 54 | obj-$(CONFIG_ACPI_PROCESSOR) += processor.o |
| 55 | obj-$(CONFIG_ACPI_CONTAINER) += container.o |
| 56 | obj-$(CONFIG_ACPI_THERMAL) += thermal.o |
| 57 | obj-$(CONFIG_ACPI_HOTPLUG_MEMORY) += acpi_memhotplug.o |
| 58 | obj-$(CONFIG_ACPI_SBS) += sbshc.o |
| 59 | obj-$(CONFIG_ACPI_SBS) += sbs.o |
| 60 | |
Len Brown | ae7d515 | 2009-04-02 22:49:43 -0400 | [diff] [blame^] | 61 | # processor has its own "processor." module_param namespace |
| 62 | processor-y := processor_core.o processor_throttling.o |
| 63 | processor-y += processor_idle.o processor_thermal.o |
| 64 | processor-$(CONFIG_CPU_FREQ) += processor_perflib.o |