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 | # |
Aaron Durbin | 4d38704 | 2008-07-16 23:27:08 +0200 | [diff] [blame] | 17 | obj-y += osl.o utils.o reboot.o\ |
Len Brown | 95b482a | 2009-01-09 00:13:17 -0500 | [diff] [blame] | 18 | acpica/ |
| 19 | |
| 20 | # sleep related files |
| 21 | obj-y += wakeup.o |
Len Brown | d08ca2c | 2009-01-16 13:52:03 -0500 | [diff] [blame^] | 22 | obj-y += sleep.o |
Len Brown | 95b482a | 2009-01-09 00:13:17 -0500 | [diff] [blame] | 23 | obj-$(CONFIG_ACPI_SLEEP) += proc.o |
| 24 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 25 | |
| 26 | # |
| 27 | # ACPI Bus and Device Drivers |
| 28 | # |
| 29 | processor-objs += processor_core.o processor_throttling.o \ |
| 30 | processor_idle.o processor_thermal.o |
| 31 | ifdef CONFIG_CPU_FREQ |
Alexey Starikovskiy | 33d20b6 | 2007-03-07 22:28:00 +0300 | [diff] [blame] | 32 | processor-objs += processor_perflib.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 33 | endif |
| 34 | |
Len Brown | 76f5858 | 2005-08-24 12:10:49 -0400 | [diff] [blame] | 35 | obj-y += bus.o glue.o |
Bjorn Helgaas | 5eca338 | 2007-01-18 16:44:48 -0700 | [diff] [blame] | 36 | obj-y += scan.o |
Alexey Starikovskiy | 33d20b6 | 2007-03-07 22:28:00 +0300 | [diff] [blame] | 37 | # Keep EC driver first. Initialization of others depend on it. |
Bjorn Helgaas | 8950d89 | 2008-11-05 16:18:03 -0700 | [diff] [blame] | 38 | obj-y += ec.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 39 | obj-$(CONFIG_ACPI_AC) += ac.o |
| 40 | obj-$(CONFIG_ACPI_BATTERY) += battery.o |
| 41 | obj-$(CONFIG_ACPI_BUTTON) += button.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 42 | obj-$(CONFIG_ACPI_FAN) += fan.o |
Len Brown | c8f7a62 | 2006-07-09 17:22:28 -0400 | [diff] [blame] | 43 | obj-$(CONFIG_ACPI_DOCK) += dock.o |
Kristen Carlson Accardi | 01b57e7 | 2006-10-20 14:30:25 -0700 | [diff] [blame] | 44 | obj-$(CONFIG_ACPI_VIDEO) += video.o |
Thomas Renninger | c3d6de6 | 2008-08-01 17:37:55 +0200 | [diff] [blame] | 45 | ifdef CONFIG_ACPI_VIDEO |
| 46 | obj-y += video_detect.o |
| 47 | endif |
| 48 | |
Len Brown | 6153df7b | 2005-08-25 12:27:09 -0400 | [diff] [blame] | 49 | obj-y += pci_root.o pci_link.o pci_irq.o pci_bind.o |
Alex Chiang | 8344b56 | 2008-06-10 15:30:42 -0600 | [diff] [blame] | 50 | obj-$(CONFIG_ACPI_PCI_SLOT) += pci_slot.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 51 | obj-$(CONFIG_ACPI_PROCESSOR) += processor.o |
| 52 | obj-$(CONFIG_ACPI_CONTAINER) += container.o |
| 53 | obj-$(CONFIG_ACPI_THERMAL) += thermal.o |
Bjorn Helgaas | fefe5ab | 2008-11-05 16:17:58 -0700 | [diff] [blame] | 54 | obj-y += power.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 55 | obj-$(CONFIG_ACPI_SYSTEM) += system.o event.o |
| 56 | obj-$(CONFIG_ACPI_DEBUG) += debug.o |
| 57 | obj-$(CONFIG_ACPI_NUMA) += numa.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 58 | obj-$(CONFIG_ACPI_HOTPLUG_MEMORY) += acpi_memhotplug.o |
Alexey Starikovskiy | fdcedbb | 2007-11-19 16:33:45 +0300 | [diff] [blame] | 59 | obj-$(CONFIG_ACPI_PROCFS_POWER) += cm_sbs.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 |