2005-04-16 15:20:36 -07:00
|
|
|
#
|
|
|
|
# Makefile for the Linux ACPI interpreter
|
2007-03-07 12:28:00 -07:00
|
|
|
#
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2009-01-08 22:13:17 -07:00
|
|
|
ccflags-y := -Os
|
|
|
|
ccflags-$(CONFIG_ACPI_DEBUG) += -DACPI_DEBUG_OUTPUT
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
#
|
|
|
|
# ACPI Boot-Time Table Parsing
|
|
|
|
#
|
2005-08-24 09:07:20 -07:00
|
|
|
obj-y += tables.o
|
2005-09-21 22:15:57 -07:00
|
|
|
obj-$(CONFIG_X86) += blacklist.o
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
#
|
|
|
|
# ACPI Core Subsystem (Interpreter)
|
|
|
|
#
|
2009-03-11 15:37:19 -07:00
|
|
|
obj-y += acpi.o \
|
2009-01-08 22:13:17 -07:00
|
|
|
acpica/
|
|
|
|
|
2009-03-11 15:37:19 -07:00
|
|
|
# All the builtin files are in the "acpi." module_param namespace.
|
|
|
|
acpi-y += osl.o utils.o reboot.o
|
|
|
|
|
2009-01-08 22:13:17 -07:00
|
|
|
# sleep related files
|
2009-03-11 15:37:19 -07:00
|
|
|
acpi-y += wakeup.o
|
|
|
|
acpi-y += sleep.o
|
|
|
|
acpi-$(CONFIG_ACPI_SLEEP) += proc.o
|
2009-01-08 22:13:17 -07:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
#
|
|
|
|
# ACPI Bus and Device Drivers
|
|
|
|
#
|
2009-03-11 15:37:19 -07:00
|
|
|
acpi-y += bus.o glue.o
|
|
|
|
acpi-y += scan.o
|
|
|
|
# Keep EC driver first. Initialization of others depend on it.
|
|
|
|
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-16 15:20:36 -07:00
|
|
|
endif
|
|
|
|
|
2009-03-11 15:37:19 -07:00
|
|
|
# These are (potentially) separate modules
|
2005-04-16 15:20:36 -07:00
|
|
|
obj-$(CONFIG_ACPI_AC) += ac.o
|
|
|
|
obj-$(CONFIG_ACPI_BATTERY) += battery.o
|
|
|
|
obj-$(CONFIG_ACPI_BUTTON) += button.o
|
|
|
|
obj-$(CONFIG_ACPI_FAN) += fan.o
|
2006-10-20 14:30:25 -07:00
|
|
|
obj-$(CONFIG_ACPI_VIDEO) += video.o
|
2008-06-10 14:30:42 -07:00
|
|
|
obj-$(CONFIG_ACPI_PCI_SLOT) += pci_slot.o
|
2005-04-16 15:20:36 -07:00
|
|
|
obj-$(CONFIG_ACPI_PROCESSOR) += processor.o
|
|
|
|
obj-$(CONFIG_ACPI_CONTAINER) += container.o
|
|
|
|
obj-$(CONFIG_ACPI_THERMAL) += thermal.o
|
2009-03-11 15:37:19 -07:00
|
|
|
obj-$(CONFIG_ACPI_HOTPLUG_MEMORY) += acpi_memhotplug.o
|
2007-09-26 08:43:28 -07:00
|
|
|
obj-$(CONFIG_ACPI_SBS) += sbshc.o
|
2008-02-09 01:22:13 -07:00
|
|
|
obj-$(CONFIG_ACPI_SBS) += sbs.o
|
2009-03-11 15:37:19 -07:00
|
|
|
|
|
|
|
processor-objs += processor_core.o processor_throttling.o \
|
|
|
|
processor_idle.o processor_thermal.o
|
|
|
|
ifdef CONFIG_CPU_FREQ
|
|
|
|
processor-objs += processor_perflib.o
|
|
|
|
endif
|