Makefile 1.9 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				+= acpi.o \
L
Len Brown 已提交
18 19
					acpica/

20 21
# All the builtin files are in the "acpi." module_param namespace.
acpi-y				+= osl.o utils.o reboot.o
22
acpi-y				+= atomicio.o
23

L
Len Brown 已提交
24
# sleep related files
25 26 27
acpi-y				+= wakeup.o
acpi-y				+= sleep.o
acpi-$(CONFIG_ACPI_SLEEP)	+= proc.o
L
Len Brown 已提交
28

L
Linus Torvalds 已提交
29 30 31 32

#
# ACPI Bus and Device Drivers
#
33 34
acpi-y				+= bus.o glue.o
acpi-y				+= scan.o
35
acpi-y				+= processor_core.o
36 37 38 39 40 41
acpi-y				+= ec.o
acpi-$(CONFIG_ACPI_DOCK)	+= dock.o
acpi-y				+= pci_root.o pci_link.o pci_irq.o pci_bind.o
acpi-y				+= power.o
acpi-y				+= system.o event.o
acpi-$(CONFIG_ACPI_DEBUG)	+= debug.o
42
acpi-$(CONFIG_DEBUG_FS)		+= debugfs.o
43 44 45 46
acpi-$(CONFIG_ACPI_NUMA)	+= numa.o
acpi-$(CONFIG_ACPI_PROCFS_POWER) += cm_sbs.o
ifdef CONFIG_ACPI_VIDEO
acpi-y				+= video_detect.o
L
Linus Torvalds 已提交
47 48
endif

49
# These are (potentially) separate modules
L
Linus Torvalds 已提交
50 51 52
obj-$(CONFIG_ACPI_AC) 		+= ac.o
obj-$(CONFIG_ACPI_BUTTON)	+= button.o
obj-$(CONFIG_ACPI_FAN)		+= fan.o
53
obj-$(CONFIG_ACPI_VIDEO)	+= video.o
54
obj-$(CONFIG_ACPI_PCI_SLOT)	+= pci_slot.o
L
Linus Torvalds 已提交
55 56 57
obj-$(CONFIG_ACPI_PROCESSOR)	+= processor.o
obj-$(CONFIG_ACPI_CONTAINER)	+= container.o
obj-$(CONFIG_ACPI_THERMAL)	+= thermal.o
58
obj-$(CONFIG_ACPI_HOTPLUG_MEMORY) += acpi_memhotplug.o
59
obj-$(CONFIG_ACPI_BATTERY)	+= battery.o
60
obj-$(CONFIG_ACPI_SBS)		+= sbshc.o
61
obj-$(CONFIG_ACPI_SBS)		+= sbs.o
62
obj-$(CONFIG_ACPI_POWER_METER)	+= power_meter.o
63
obj-$(CONFIG_ACPI_HED)		+= hed.o
64

65
# processor has its own "processor." module_param namespace
66
processor-y			:= processor_driver.o processor_throttling.o
67 68
processor-y			+= processor_idle.o processor_thermal.o
processor-$(CONFIG_CPU_FREQ)	+= processor_perflib.o
69 70

obj-$(CONFIG_ACPI_PROCESSOR_AGGREGATOR) += acpi_pad.o
71 72

obj-$(CONFIG_ACPI_APEI)		+= apei/