2005-04-17 02:20:36 +04:00
|
|
|
#
|
|
|
|
# Makefile for the Linux ACPI interpreter
|
2007-03-07 22:28:00 +03:00
|
|
|
#
|
2005-04-17 02:20:36 +04: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 20:07:20 +04:00
|
|
|
obj-y += tables.o
|
2005-09-22 09:15:57 +04:00
|
|
|
obj-$(CONFIG_X86) += blacklist.o
|
2005-04-17 02:20:36 +04:00
|
|
|
|
|
|
|
#
|
|
|
|
# ACPI Core Subsystem (Interpreter)
|
|
|
|
#
|
2005-08-24 20:09:07 +04:00
|
|
|
obj-y += osl.o utils.o \
|
2005-04-17 02:20:36 +04: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 22:28:00 +03:00
|
|
|
processor-objs += processor_perflib.o
|
2005-04-17 02:20:36 +04:00
|
|
|
endif
|
|
|
|
|
2005-08-24 20:10:49 +04:00
|
|
|
obj-y += sleep/
|
|
|
|
obj-y += bus.o glue.o
|
2007-01-19 02:44:48 +03:00
|
|
|
obj-y += scan.o
|
2007-03-07 22:28:00 +03:00
|
|
|
# Keep EC driver first. Initialization of others depend on it.
|
|
|
|
obj-$(CONFIG_ACPI_EC) += ec.o
|
2005-04-17 02:20:36 +04: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 01:22:28 +04:00
|
|
|
obj-$(CONFIG_ACPI_DOCK) += dock.o
|
2006-10-21 01:30:25 +04:00
|
|
|
obj-$(CONFIG_ACPI_BAY) += bay.o
|
|
|
|
obj-$(CONFIG_ACPI_VIDEO) += video.o
|
2005-08-25 20:27:09 +04:00
|
|
|
obj-y += pci_root.o pci_link.o pci_irq.o pci_bind.o
|
2005-04-17 02:20:36 +04: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 19:36:54 +04:00
|
|
|
obj-y += cm_sbs.o
|
2007-03-19 17:45:50 +03:00
|
|
|
obj-$(CONFIG_ACPI_SBS) += sbs.o
|