Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame^] | 1 | # |
| 2 | # Makefile for the Linux ACPI interpreter |
| 3 | # |
| 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 | # |
| 18 | obj-$(CONFIG_ACPI_BOOT) += tables.o |
| 19 | obj-$(CONFIG_ACPI_INTERPRETER) += blacklist.o |
| 20 | |
| 21 | # |
| 22 | # ACPI Core Subsystem (Interpreter) |
| 23 | # |
| 24 | obj-$(CONFIG_ACPI_INTERPRETER) += osl.o utils.o \ |
| 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 |
| 35 | processor-objs += processor_perflib.o |
| 36 | endif |
| 37 | |
| 38 | obj-$(CONFIG_ACPI_BUS) += sleep/ |
| 39 | obj-$(CONFIG_ACPI_BUS) += bus.o |
| 40 | obj-$(CONFIG_ACPI_AC) += ac.o |
| 41 | obj-$(CONFIG_ACPI_BATTERY) += battery.o |
| 42 | obj-$(CONFIG_ACPI_BUTTON) += button.o |
| 43 | obj-$(CONFIG_ACPI_EC) += ec.o |
| 44 | obj-$(CONFIG_ACPI_FAN) += fan.o |
| 45 | obj-$(CONFIG_ACPI_VIDEO) += video.o |
| 46 | obj-$(CONFIG_ACPI_PCI) += pci_root.o pci_link.o pci_irq.o pci_bind.o |
| 47 | obj-$(CONFIG_ACPI_POWER) += power.o |
| 48 | obj-$(CONFIG_ACPI_PROCESSOR) += processor.o |
| 49 | obj-$(CONFIG_ACPI_CONTAINER) += container.o |
| 50 | obj-$(CONFIG_ACPI_THERMAL) += thermal.o |
| 51 | obj-$(CONFIG_ACPI_SYSTEM) += system.o event.o |
| 52 | obj-$(CONFIG_ACPI_DEBUG) += debug.o |
| 53 | obj-$(CONFIG_ACPI_NUMA) += numa.o |
| 54 | obj-$(CONFIG_ACPI_ASUS) += asus_acpi.o |
| 55 | obj-$(CONFIG_ACPI_IBM) += ibm_acpi.o |
| 56 | obj-$(CONFIG_ACPI_TOSHIBA) += toshiba_acpi.o |
| 57 | obj-$(CONFIG_ACPI_BUS) += scan.o motherboard.o |
| 58 | obj-$(CONFIG_ACPI_HOTPLUG_MEMORY) += acpi_memhotplug.o |