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