Makefile 1.65 KB
Newer Older
Linus Torvalds's avatar
Linus Torvalds committed
1 2
#
# Makefile for the Linux ACPI interpreter
3
#
Linus Torvalds's avatar
Linus Torvalds committed
4 5 6 7 8 9 10 11 12 13 14 15 16 17

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
#
Len Brown's avatar
Len Brown committed
18
obj-y				+= tables.o
19
obj-$(CONFIG_X86)		+= blacklist.o
Linus Torvalds's avatar
Linus Torvalds committed
20 21 22 23

#
# ACPI Core Subsystem (Interpreter)
#
24
obj-y				+= osl.o utils.o \
Linus Torvalds's avatar
Linus Torvalds committed
25 26 27 28 29 30 31 32 33 34
				   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
35
processor-objs	+= processor_perflib.o
Linus Torvalds's avatar
Linus Torvalds committed
36 37
endif

Len Brown's avatar
Len Brown committed
38 39
obj-y				+= sleep/
obj-y				+= bus.o glue.o
40
obj-y				+= scan.o
41 42
# Keep EC driver first. Initialization of others depend on it.
obj-$(CONFIG_ACPI_EC)		+= ec.o
Linus Torvalds's avatar
Linus Torvalds committed
43 44 45 46
obj-$(CONFIG_ACPI_AC) 		+= ac.o
obj-$(CONFIG_ACPI_BATTERY)	+= battery.o
obj-$(CONFIG_ACPI_BUTTON)	+= button.o
obj-$(CONFIG_ACPI_FAN)		+= fan.o
47
obj-$(CONFIG_ACPI_DOCK)		+= dock.o
48 49
obj-$(CONFIG_ACPI_BAY)		+= bay.o
obj-$(CONFIG_ACPI_VIDEO)	+= video.o
Len Brown's avatar
Len Brown committed
50
obj-y				+= pci_root.o pci_link.o pci_irq.o pci_bind.o
Linus Torvalds's avatar
Linus Torvalds committed
51 52 53 54 55 56 57
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
58
obj-$(CONFIG_ACPI_WMI)		+= wmi.o
Linus Torvalds's avatar
Linus Torvalds committed
59 60 61
obj-$(CONFIG_ACPI_ASUS)		+= asus_acpi.o
obj-$(CONFIG_ACPI_TOSHIBA)	+= toshiba_acpi.o
obj-$(CONFIG_ACPI_HOTPLUG_MEMORY)	+= acpi_memhotplug.o
62
obj-$(CONFIG_ACPI_PROCFS_POWER)	+= cm_sbs.o
63
obj-$(CONFIG_ACPI_SBS)		+= sbs.o
64
obj-$(CONFIG_ACPI_SBS)		+= sbshc.o