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 | |
| 5 | export ACPI_CFLAGS |
| 6 | |
| 7 | ACPI_CFLAGS := -Os |
| 8 | |
| 9 | ifdef CONFIG_ACPI_DEBUG |
| 10 | ACPI_CFLAGS += -DACPI_DEBUG_OUTPUT |
| 11 | endif |
| 12 | |
| 13 | EXTRA_CFLAGS += $(ACPI_CFLAGS) |
| 14 | |
| 15 | # |
| 16 | # ACPI Boot-Time Table Parsing |
| 17 | # |
Len Brown | 888ba6c | 2005-08-24 12:07:20 -0400 | [diff] [blame] | 18 | obj-y += tables.o |
Al Viro | 5d8e7aa | 2005-09-22 01:15:57 -0400 | [diff] [blame] | 19 | obj-$(CONFIG_X86) += blacklist.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 20 | |
| 21 | # |
| 22 | # ACPI Core Subsystem (Interpreter) |
| 23 | # |
Len Brown | 8466361 | 2005-08-24 12:09:07 -0400 | [diff] [blame] | 24 | obj-y += osl.o utils.o \ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 25 | dispatcher/ events/ executer/ hardware/ \ |
| 26 | namespace/ parser/ resources/ tables/ \ |
| 27 | utilities/ |
| 28 | |
| 29 | # |
| 30 | # ACPI Bus and Device Drivers |
| 31 | # |
| 32 | processor-objs += processor_core.o processor_throttling.o \ |
| 33 | processor_idle.o processor_thermal.o |
| 34 | ifdef CONFIG_CPU_FREQ |
Alexey Starikovskiy | 33d20b6 | 2007-03-07 22:28:00 +0300 | [diff] [blame] | 35 | processor-objs += processor_perflib.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 36 | endif |
| 37 | |
Len Brown | 76f5858 | 2005-08-24 12:10:49 -0400 | [diff] [blame] | 38 | obj-y += sleep/ |
| 39 | obj-y += bus.o glue.o |
Bjorn Helgaas | 5eca338 | 2007-01-18 16:44:48 -0700 | [diff] [blame] | 40 | obj-y += scan.o |
Alexey Starikovskiy | 33d20b6 | 2007-03-07 22:28:00 +0300 | [diff] [blame] | 41 | # Keep EC driver first. Initialization of others depend on it. |
| 42 | obj-$(CONFIG_ACPI_EC) += ec.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 43 | obj-$(CONFIG_ACPI_AC) += ac.o |
| 44 | obj-$(CONFIG_ACPI_BATTERY) += battery.o |
| 45 | obj-$(CONFIG_ACPI_BUTTON) += button.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 46 | obj-$(CONFIG_ACPI_FAN) += fan.o |
Len Brown | c8f7a62c | 2006-07-09 17:22:28 -0400 | [diff] [blame] | 47 | obj-$(CONFIG_ACPI_DOCK) += dock.o |
Kristen Carlson Accardi | 01b57e7 | 2006-10-20 14:30:25 -0700 | [diff] [blame] | 48 | obj-$(CONFIG_ACPI_BAY) += bay.o |
| 49 | obj-$(CONFIG_ACPI_VIDEO) += video.o |
Len Brown | 6153df7b | 2005-08-25 12:27:09 -0400 | [diff] [blame] | 50 | obj-y += pci_root.o pci_link.o pci_irq.o pci_bind.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 51 | obj-$(CONFIG_ACPI_POWER) += power.o |
| 52 | obj-$(CONFIG_ACPI_PROCESSOR) += processor.o |
| 53 | obj-$(CONFIG_ACPI_CONTAINER) += container.o |
| 54 | obj-$(CONFIG_ACPI_THERMAL) += thermal.o |
| 55 | obj-$(CONFIG_ACPI_SYSTEM) += system.o event.o |
| 56 | obj-$(CONFIG_ACPI_DEBUG) += debug.o |
| 57 | obj-$(CONFIG_ACPI_NUMA) += numa.o |
Carlos Corbacho | bff431e | 2008-02-05 02:17:04 +0000 | [diff] [blame] | 58 | obj-$(CONFIG_ACPI_WMI) += wmi.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 59 | obj-$(CONFIG_ACPI_ASUS) += asus_acpi.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 60 | obj-$(CONFIG_ACPI_TOSHIBA) += toshiba_acpi.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 61 | obj-$(CONFIG_ACPI_HOTPLUG_MEMORY) += acpi_memhotplug.o |
Alexey Starikovskiy | fdcedbb | 2007-11-19 16:33:45 +0300 | [diff] [blame] | 62 | obj-$(CONFIG_ACPI_PROCFS_POWER) += cm_sbs.o |
Alexey Starikovskiy | 91087df | 2007-09-26 19:43:28 +0400 | [diff] [blame] | 63 | obj-$(CONFIG_ACPI_SBS) += sbshc.o |
Alexey Starikovskiy | bbafbec | 2008-02-09 03:22:13 -0500 | [diff] [blame] | 64 | obj-$(CONFIG_ACPI_SBS) += sbs.o |