Makefile 2.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				+= 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
H
Huang Ying 已提交
22
acpi-y				+= nvs.o
23

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

L
Linus Torvalds 已提交
30 31 32 33

#
# ACPI Bus and Device Drivers
#
34 35
acpi-y				+= bus.o glue.o
acpi-y				+= scan.o
36
acpi-y				+= resource.o
37
acpi-y				+= acpi_processor.o
38
acpi-y				+= processor_core.o
39
acpi-$(CONFIG_ARCH_MIGHT_HAVE_ACPI_PDC) += processor_pdc.o
40 41
acpi-y				+= ec.o
acpi-$(CONFIG_ACPI_DOCK)	+= dock.o
42
acpi-y				+= pci_root.o pci_link.o pci_irq.o
43
acpi-y				+= acpi_lpss.o
44
acpi-y				+= acpi_platform.o
45
acpi-y				+= acpi_pnp.o
46
acpi-y				+= int340x_thermal.o
47
acpi-y				+= power.o
48
acpi-y				+= event.o
Z
Zhang Rui 已提交
49
acpi-y				+= sysfs.o
50
acpi-$(CONFIG_X86)		+= acpi_cmos_rtc.o
51
acpi-$(CONFIG_DEBUG_FS)		+= debugfs.o
52
acpi-$(CONFIG_ACPI_NUMA)	+= numa.o
53
acpi-$(CONFIG_ACPI_PROCFS_POWER) += cm_sbs.o
54 55
ifdef CONFIG_ACPI_VIDEO
acpi-y				+= video_detect.o
L
Linus Torvalds 已提交
56 57
endif

58
# These are (potentially) separate modules
59 60 61 62

# IPMI may be used by other drivers, so it has to initialise before them
obj-$(CONFIG_ACPI_IPMI)		+= acpi_ipmi.o

L
Linus Torvalds 已提交
63 64 65
obj-$(CONFIG_ACPI_AC) 		+= ac.o
obj-$(CONFIG_ACPI_BUTTON)	+= button.o
obj-$(CONFIG_ACPI_FAN)		+= fan.o
66
obj-$(CONFIG_ACPI_VIDEO)	+= video.o
67
obj-$(CONFIG_ACPI_PCI_SLOT)	+= pci_slot.o
L
Linus Torvalds 已提交
68
obj-$(CONFIG_ACPI_PROCESSOR)	+= processor.o
69
obj-y				+= container.o
L
Linus Torvalds 已提交
70
obj-$(CONFIG_ACPI_THERMAL)	+= thermal.o
71
obj-y				+= acpi_memhotplug.o
72
obj-$(CONFIG_ACPI_BATTERY)	+= battery.o
73
obj-$(CONFIG_ACPI_SBS)		+= sbshc.o
74
obj-$(CONFIG_ACPI_SBS)		+= sbs.o
75
obj-$(CONFIG_ACPI_HED)		+= hed.o
76
obj-$(CONFIG_ACPI_EC_DEBUGFS)	+= ec_sys.o
77
obj-$(CONFIG_ACPI_CUSTOM_METHOD)+= custom_method.o
78
obj-$(CONFIG_ACPI_BGRT)		+= bgrt.o
79

80
# processor has its own "processor." module_param namespace
81
processor-y			:= processor_driver.o processor_throttling.o
82 83
processor-y			+= processor_idle.o processor_thermal.o
processor-$(CONFIG_CPU_FREQ)	+= processor_perflib.o
84 85

obj-$(CONFIG_ACPI_PROCESSOR_AGGREGATOR) += acpi_pad.o
86 87

obj-$(CONFIG_ACPI_APEI)		+= apei/
88 89

obj-$(CONFIG_ACPI_EXTLOG)	+= acpi_extlog.o
90 91 92

obj-$(CONFIG_PMIC_OPREGION)	+= pmic/intel_pmic.o
obj-$(CONFIG_CRC_PMIC_OPREGION) += pmic/intel_pmic_crc.o
93
obj-$(CONFIG_XPOWER_PMIC_OPREGION) += pmic/intel_pmic_xpower.o