xref: /linux/drivers/acpi/Makefile (revision eec15edbb0e14485998635ea7c62e30911b465f0)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# Makefile for the Linux ACPI interpreter
31da177e4SLinus Torvalds#
41da177e4SLinus Torvalds
595b482a8SLen Brownccflags-y			:= -Os
695b482a8SLen Brownccflags-$(CONFIG_ACPI_DEBUG)	+= -DACPI_DEBUG_OUTPUT
71da177e4SLinus Torvalds
81da177e4SLinus Torvalds#
91da177e4SLinus Torvalds# ACPI Boot-Time Table Parsing
101da177e4SLinus Torvalds#
11888ba6c6SLen Brownobj-y				+= tables.o
125d8e7aa6SAl Viroobj-$(CONFIG_X86)		+= blacklist.o
131da177e4SLinus Torvalds
141da177e4SLinus Torvalds#
151da177e4SLinus Torvalds# ACPI Core Subsystem (Interpreter)
161da177e4SLinus Torvalds#
175b5d9117SRusty Russellobj-y				+= acpi.o \
1895b482a8SLen Brown					acpica/
1995b482a8SLen Brown
205b5d9117SRusty Russell# All the builtin files are in the "acpi." module_param namespace.
215b5d9117SRusty Russellacpi-y				+= osl.o utils.o reboot.o
22b54ac6d2SHuang Yingacpi-y				+= nvs.o
235b5d9117SRusty Russell
24ec2cd81cSRafael J. Wysocki# Power management related files
255b5d9117SRusty Russellacpi-y				+= wakeup.o
265b5d9117SRusty Russellacpi-y				+= sleep.o
27ec4602a9SRafael J. Wysockiacpi-y				+= device_pm.o
28b54ac6d2SHuang Yingacpi-$(CONFIG_ACPI_SLEEP)	+= proc.o
2995b482a8SLen Brown
301da177e4SLinus Torvalds
311da177e4SLinus Torvalds#
321da177e4SLinus Torvalds# ACPI Bus and Device Drivers
331da177e4SLinus Torvalds#
345b5d9117SRusty Russellacpi-y				+= bus.o glue.o
355b5d9117SRusty Russellacpi-y				+= scan.o
36046d9ce6SRafael J. Wysockiacpi-y				+= resource.o
37ac212b69SRafael J. Wysockiacpi-y				+= acpi_processor.o
384d5d4cd8SAlex Chiangacpi-y				+= processor_core.o
395b5d9117SRusty Russellacpi-y				+= ec.o
405b5d9117SRusty Russellacpi-$(CONFIG_ACPI_DOCK)	+= dock.o
4138a9a67aSRafael J. Wysockiacpi-y				+= pci_root.o pci_link.o pci_irq.o
42f58b082aSRafael J. Wysockiacpi-$(CONFIG_X86_INTEL_LPSS)	+= acpi_lpss.o
4391e56878SMika Westerbergacpi-y				+= acpi_platform.o
44*eec15edbSZhang Ruiacpi-y				+= acpi_pnp.o
455b5d9117SRusty Russellacpi-y				+= power.o
4647f5c892SZhang Ruiacpi-y				+= event.o
471c8fce27SZhang Ruiacpi-y				+= sysfs.o
482fa97febSLan Tianyuacpi-$(CONFIG_X86)		+= acpi_cmos_rtc.o
49a25ee920SZhang Ruiacpi-$(CONFIG_DEBUG_FS)		+= debugfs.o
505b5d9117SRusty Russellacpi-$(CONFIG_ACPI_NUMA)	+= numa.o
51e2a7c3d7SLan Tianyuacpi-$(CONFIG_ACPI_PROCFS_POWER) += cm_sbs.o
525b5d9117SRusty Russellifdef CONFIG_ACPI_VIDEO
535b5d9117SRusty Russellacpi-y				+= video_detect.o
541da177e4SLinus Torvaldsendif
551da177e4SLinus Torvalds
565b5d9117SRusty Russell# These are (potentially) separate modules
574033741fSMatthew Garrett
584033741fSMatthew Garrett# IPMI may be used by other drivers, so it has to initialise before them
594033741fSMatthew Garrettobj-$(CONFIG_ACPI_IPMI)		+= acpi_ipmi.o
604033741fSMatthew Garrett
611da177e4SLinus Torvaldsobj-$(CONFIG_ACPI_AC) 		+= ac.o
621da177e4SLinus Torvaldsobj-$(CONFIG_ACPI_BUTTON)	+= button.o
631da177e4SLinus Torvaldsobj-$(CONFIG_ACPI_FAN)		+= fan.o
641da177e4SLinus Torvaldsobj-$(CONFIG_ACPI_VIDEO)	+= video.o
658344b568SAlex Chiangobj-$(CONFIG_ACPI_PCI_SLOT)	+= pci_slot.o
661da177e4SLinus Torvaldsobj-$(CONFIG_ACPI_PROCESSOR)	+= processor.o
671da177e4SLinus Torvaldsobj-$(CONFIG_ACPI_CONTAINER)	+= container.o
681da177e4SLinus Torvaldsobj-$(CONFIG_ACPI_THERMAL)	+= thermal.o
691da177e4SLinus Torvaldsobj-$(CONFIG_ACPI_HOTPLUG_MEMORY) += acpi_memhotplug.o
700f66af53SArjan van de Venobj-$(CONFIG_ACPI_BATTERY)	+= battery.o
7191087dfaSAlexey Starikovskiyobj-$(CONFIG_ACPI_SBS)		+= sbshc.o
72bbafbecbSAlexey Starikovskiyobj-$(CONFIG_ACPI_SBS)		+= sbs.o
73801eab81SHuang Yingobj-$(CONFIG_ACPI_HED)		+= hed.o
741195a098SThomas Renningerobj-$(CONFIG_ACPI_EC_DEBUGFS)	+= ec_sys.o
75526b4af4SThomas Renningerobj-$(CONFIG_ACPI_CUSTOM_METHOD)+= custom_method.o
76d1ff4b1cSMatthew Garrettobj-$(CONFIG_ACPI_BGRT)		+= bgrt.o
775b5d9117SRusty Russell
78ae7d5151SLen Brown# processor has its own "processor." module_param namespace
790131aa3dSAlex Chiangprocessor-y			:= processor_driver.o processor_throttling.o
80ae7d5151SLen Brownprocessor-y			+= processor_idle.o processor_thermal.o
81ae7d5151SLen Brownprocessor-$(CONFIG_CPU_FREQ)	+= processor_perflib.o
828e0af514SShaohua Li
838e0af514SShaohua Liobj-$(CONFIG_ACPI_PROCESSOR_AGGREGATOR) += acpi_pad.o
84a643ce20SHuang Ying
85a643ce20SHuang Yingobj-$(CONFIG_ACPI_APEI)		+= apei/
864b3db708SChen, Gong
874b3db708SChen, Gongobj-$(CONFIG_ACPI_EXTLOG)	+= acpi_extlog.o
88