Makefile 1.5 KB
Newer Older
L
Linus Torvalds 已提交
1 2
#
# Makefile for the Linux ACPI interpreter
3
#
L
Linus Torvalds 已提交
4

L
Len Brown 已提交
5 6
ccflags-y			:= -Os
ccflags-$(CONFIG_ACPI_DEBUG)	+= -DACPI_DEBUG_OUTPUT
L
Linus Torvalds 已提交
7 8 9 10

#
# ACPI Boot-Time Table Parsing
#
L
Len Brown 已提交
11
obj-y				+= tables.o
12
obj-$(CONFIG_X86)		+= blacklist.o
L
Linus Torvalds 已提交
13 14 15 16

#
# ACPI Core Subsystem (Interpreter)
#
17
obj-y				+= osl.o utils.o reboot.o\
L
Len Brown 已提交
18 19 20 21
					acpica/

# sleep related files
obj-y				+= wakeup.o
L
Len Brown 已提交
22
obj-y				+= sleep.o
L
Len Brown 已提交
23 24
obj-$(CONFIG_ACPI_SLEEP)	+= proc.o

L
Linus Torvalds 已提交
25 26 27 28 29 30 31

#
# ACPI Bus and Device Drivers
#
processor-objs	+= processor_core.o processor_throttling.o \
				processor_idle.o processor_thermal.o
ifdef CONFIG_CPU_FREQ
32
processor-objs	+= processor_perflib.o
L
Linus Torvalds 已提交
33 34
endif

L
Len Brown 已提交
35
obj-y				+= bus.o glue.o
36
obj-y				+= scan.o
37
# Keep EC driver first. Initialization of others depend on it.
B
Bjorn Helgaas 已提交
38
obj-y				+= ec.o
L
Linus Torvalds 已提交
39 40 41 42
obj-$(CONFIG_ACPI_AC) 		+= ac.o
obj-$(CONFIG_ACPI_BATTERY)	+= battery.o
obj-$(CONFIG_ACPI_BUTTON)	+= button.o
obj-$(CONFIG_ACPI_FAN)		+= fan.o
L
Len Brown 已提交
43
obj-$(CONFIG_ACPI_DOCK)		+= dock.o
44
obj-$(CONFIG_ACPI_VIDEO)	+= video.o
45 46 47 48
ifdef CONFIG_ACPI_VIDEO
obj-y				+= video_detect.o
endif

L
Len Brown 已提交
49
obj-y				+= pci_root.o pci_link.o pci_irq.o pci_bind.o
50
obj-$(CONFIG_ACPI_PCI_SLOT)	+= pci_slot.o
L
Linus Torvalds 已提交
51 52 53
obj-$(CONFIG_ACPI_PROCESSOR)	+= processor.o
obj-$(CONFIG_ACPI_CONTAINER)	+= container.o
obj-$(CONFIG_ACPI_THERMAL)	+= thermal.o
B
Bjorn Helgaas 已提交
54
obj-y				+= power.o
B
Bjorn Helgaas 已提交
55
obj-y				+= system.o event.o
L
Linus Torvalds 已提交
56 57 58
obj-$(CONFIG_ACPI_DEBUG)	+= debug.o
obj-$(CONFIG_ACPI_NUMA)		+= numa.o
obj-$(CONFIG_ACPI_HOTPLUG_MEMORY)	+= acpi_memhotplug.o
59
obj-$(CONFIG_ACPI_PROCFS_POWER)	+= cm_sbs.o
60
obj-$(CONFIG_ACPI_SBS)		+= sbshc.o
61
obj-$(CONFIG_ACPI_SBS)		+= sbs.o