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
|
|
|
|
|
|
|
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-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)
|
|
|
|
#
|
2005-08-25 00:09:07 +08:00
|
|
|
obj-y += osl.o utils.o \
|
2005-04-17 06:20:36 +08: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-08 03:28:00 +08:00
|
|
|
processor-objs += processor_perflib.o
|
2005-04-17 06:20:36 +08:00
|
|
|
endif
|
|
|
|
|
2005-08-25 00:10:49 +08:00
|
|
|
obj-y += sleep/
|
|
|
|
obj-y += bus.o glue.o
|
2007-01-19 07:44:48 +08:00
|
|
|
obj-y += scan.o
|
2007-03-08 03:28:00 +08:00
|
|
|
# Keep EC driver first. Initialization of others depend on it.
|
|
|
|
obj-$(CONFIG_ACPI_EC) += ec.o
|
2005-04-17 06:20:36 +08: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-10 05:22:28 +08:00
|
|
|
obj-$(CONFIG_ACPI_DOCK) += dock.o
|
2006-10-21 05:30:25 +08:00
|
|
|
obj-$(CONFIG_ACPI_BAY) += bay.o
|
|
|
|
obj-$(CONFIG_ACPI_VIDEO) += video.o
|
2005-08-26 00:27:09 +08:00
|
|
|
obj-y += pci_root.o pci_link.o pci_irq.o pci_bind.o
|
2005-04-17 06:20:36 +08: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 23:36:54 +08:00
|
|
|
obj-y += cm_sbs.o
|
2007-03-19 22:45:50 +08:00
|
|
|
obj-$(CONFIG_ACPI_SBS) += sbs.o
|
2007-09-26 23:43:28 +08:00
|
|
|
obj-$(CONFIG_ACPI_SBS) += sbshc.o
|