2005-04-17 06:20:36 +08:00
|
|
|
#
|
|
|
|
# Makefile for the Linux ACPI interpreter
|
2007-03-08 03:28:00 +08:00
|
|
|
#
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2009-01-09 13:13:17 +08:00
|
|
|
ccflags-y := -Os
|
|
|
|
ccflags-$(CONFIG_ACPI_DEBUG) += -DACPI_DEBUG_OUTPUT
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
#
|
|
|
|
# ACPI Boot-Time Table Parsing
|
|
|
|
#
|
2005-08-25 00:07:20 +08:00
|
|
|
obj-y += tables.o
|
2005-09-22 13:15:57 +08:00
|
|
|
obj-$(CONFIG_X86) += blacklist.o
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
#
|
|
|
|
# ACPI Core Subsystem (Interpreter)
|
|
|
|
#
|
2009-03-12 06:37:19 +08:00
|
|
|
obj-y += acpi.o \
|
2009-01-09 13:13:17 +08:00
|
|
|
acpica/
|
|
|
|
|
2009-03-12 06:37:19 +08:00
|
|
|
# All the builtin files are in the "acpi." module_param namespace.
|
|
|
|
acpi-y += osl.o utils.o reboot.o
|
|
|
|
|
2009-01-09 13:13:17 +08:00
|
|
|
# sleep related files
|
2009-03-12 06:37:19 +08:00
|
|
|
acpi-y += wakeup.o
|
|
|
|
acpi-y += sleep.o
|
|
|
|
acpi-$(CONFIG_ACPI_SLEEP) += proc.o
|
2009-01-09 13:13:17 +08:00
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
#
|
|
|
|
# ACPI Bus and Device Drivers
|
|
|
|
#
|
2009-03-12 06:37:19 +08:00
|
|
|
acpi-y += bus.o glue.o
|
|
|
|
acpi-y += scan.o
|
|
|
|
acpi-y += ec.o
|
|
|
|
acpi-$(CONFIG_ACPI_DOCK) += dock.o
|
|
|
|
acpi-y += pci_root.o pci_link.o pci_irq.o pci_bind.o
|
|
|
|
acpi-y += power.o
|
|
|
|
acpi-y += system.o event.o
|
|
|
|
acpi-$(CONFIG_ACPI_DEBUG) += debug.o
|
|
|
|
acpi-$(CONFIG_ACPI_NUMA) += numa.o
|
|
|
|
acpi-$(CONFIG_ACPI_PROCFS_POWER) += cm_sbs.o
|
|
|
|
ifdef CONFIG_ACPI_VIDEO
|
|
|
|
acpi-y += video_detect.o
|
2005-04-17 06:20:36 +08:00
|
|
|
endif
|
|
|
|
|
2009-03-12 06:37:19 +08:00
|
|
|
# These are (potentially) separate modules
|
2005-04-17 06:20:36 +08:00
|
|
|
obj-$(CONFIG_ACPI_AC) += ac.o
|
|
|
|
obj-$(CONFIG_ACPI_BUTTON) += button.o
|
|
|
|
obj-$(CONFIG_ACPI_FAN) += fan.o
|
2006-10-21 05:30:25 +08:00
|
|
|
obj-$(CONFIG_ACPI_VIDEO) += video.o
|
2008-06-11 05:30:42 +08:00
|
|
|
obj-$(CONFIG_ACPI_PCI_SLOT) += pci_slot.o
|
2005-04-17 06:20:36 +08:00
|
|
|
obj-$(CONFIG_ACPI_PROCESSOR) += processor.o
|
|
|
|
obj-$(CONFIG_ACPI_CONTAINER) += container.o
|
|
|
|
obj-$(CONFIG_ACPI_THERMAL) += thermal.o
|
2009-03-12 06:37:19 +08:00
|
|
|
obj-$(CONFIG_ACPI_HOTPLUG_MEMORY) += acpi_memhotplug.o
|
2009-01-11 03:19:05 +08:00
|
|
|
obj-$(CONFIG_ACPI_BATTERY) += battery.o
|
2007-09-26 23:43:28 +08:00
|
|
|
obj-$(CONFIG_ACPI_SBS) += sbshc.o
|
2008-02-09 16:22:13 +08:00
|
|
|
obj-$(CONFIG_ACPI_SBS) += sbs.o
|
2009-03-12 06:37:19 +08:00
|
|
|
|
2009-04-03 10:49:43 +08:00
|
|
|
# processor has its own "processor." module_param namespace
|
|
|
|
processor-y := processor_core.o processor_throttling.o
|
|
|
|
processor-y += processor_idle.o processor_thermal.o
|
|
|
|
processor-$(CONFIG_CPU_FREQ) += processor_perflib.o
|