2005-04-16 22:20:36 +00:00
|
|
|
#
|
|
|
|
# Makefile for the Linux ACPI interpreter
|
2007-03-07 19:28:00 +00:00
|
|
|
#
|
2005-04-16 22:20:36 +00:00
|
|
|
|
|
|
|
export ACPI_CFLAGS
|
|
|
|
|
|
|
|
ACPI_CFLAGS := -Os
|
|
|
|
|
|
|
|
ifdef CONFIG_ACPI_DEBUG
|
|
|
|
ACPI_CFLAGS += -DACPI_DEBUG_OUTPUT
|
|
|
|
endif
|
|
|
|
|
|
|
|
EXTRA_CFLAGS += $(ACPI_CFLAGS)
|
|
|
|
|
|
|
|
#
|
|
|
|
# ACPI Boot-Time Table Parsing
|
|
|
|
#
|
2005-08-24 16:07:20 +00:00
|
|
|
obj-y += tables.o
|
2005-09-22 05:15:57 +00:00
|
|
|
obj-$(CONFIG_X86) += blacklist.o
|
2005-04-16 22:20:36 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# ACPI Core Subsystem (Interpreter)
|
|
|
|
#
|
2005-08-24 16:09:07 +00:00
|
|
|
obj-y += osl.o utils.o \
|
2005-04-16 22:20:36 +00:00
|
|
|
dispatcher/ events/ executer/ hardware/ \
|
|
|
|
namespace/ parser/ resources/ tables/ \
|
|
|
|
utilities/
|
|
|
|
|
|
|
|
#
|
|
|
|
# ACPI Bus and Device Drivers
|
|
|
|
#
|
|
|
|
processor-objs += processor_core.o processor_throttling.o \
|
|
|
|
processor_idle.o processor_thermal.o
|
|
|
|
ifdef CONFIG_CPU_FREQ
|
2007-03-07 19:28:00 +00:00
|
|
|
processor-objs += processor_perflib.o
|
2005-04-16 22:20:36 +00:00
|
|
|
endif
|
|
|
|
|
2005-08-24 16:10:49 +00:00
|
|
|
obj-y += sleep/
|
|
|
|
obj-y += bus.o glue.o
|
2007-01-18 23:44:48 +00:00
|
|
|
obj-y += scan.o
|
2007-03-07 19:28:00 +00:00
|
|
|
# Keep EC driver first. Initialization of others depend on it.
|
|
|
|
obj-$(CONFIG_ACPI_EC) += ec.o
|
2005-04-16 22:20:36 +00: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-07-09 21:22:28 +00:00
|
|
|
obj-$(CONFIG_ACPI_DOCK) += dock.o
|
2006-10-20 21:30:25 +00:00
|
|
|
obj-$(CONFIG_ACPI_BAY) += bay.o
|
|
|
|
obj-$(CONFIG_ACPI_VIDEO) += video.o
|
2005-08-25 16:27:09 +00:00
|
|
|
obj-y += pci_root.o pci_link.o pci_irq.o pci_bind.o
|
2005-04-16 22:20:36 +00:00
|
|
|
obj-$(CONFIG_ACPI_POWER) += power.o
|
|
|
|
obj-$(CONFIG_ACPI_PROCESSOR) += processor.o
|
|
|
|
obj-$(CONFIG_ACPI_CONTAINER) += container.o
|
|
|
|
obj-$(CONFIG_ACPI_THERMAL) += thermal.o
|
|
|
|
obj-$(CONFIG_ACPI_SYSTEM) += system.o event.o
|
|
|
|
obj-$(CONFIG_ACPI_DEBUG) += debug.o
|
|
|
|
obj-$(CONFIG_ACPI_NUMA) += numa.o
|
|
|
|
obj-$(CONFIG_ACPI_ASUS) += asus_acpi.o
|
|
|
|
obj-$(CONFIG_ACPI_TOSHIBA) += toshiba_acpi.o
|
|
|
|
obj-$(CONFIG_ACPI_HOTPLUG_MEMORY) += acpi_memhotplug.o
|
2006-07-01 15:36:54 +00:00
|
|
|
obj-y += cm_sbs.o
|
2007-03-19 14:45:50 +00:00
|
|
|
obj-$(CONFIG_ACPI_SBS) += sbs.o
|
2007-09-26 15:43:28 +00:00
|
|
|
obj-$(CONFIG_ACPI_SBS) += sbshc.o
|