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