2 # Makefile for the Linux ACPI interpreter
6 ccflags-
$(CONFIG_ACPI_DEBUG
) += -DACPI_DEBUG_OUTPUT
9 # ACPI Boot-Time Table Parsing
12 obj-
$(CONFIG_X86
) += blacklist.o
15 # ACPI Core Subsystem (Interpreter)
20 # All the builtin files are in the "acpi." module_param namespace.
21 acpi-y
+= osl.o utils.o reboot.o
24 # Power management related files
27 acpi-
$(CONFIG_PM
) += device_pm.o
28 acpi-
$(CONFIG_ACPI_SLEEP
) += proc.o
32 # ACPI Bus and Device Drivers
34 acpi-y
+= bus.o glue.o
37 acpi-y
+= processor_core.o
39 acpi-
$(CONFIG_ACPI_DOCK
) += dock.o
40 acpi-y
+= pci_root.o pci_link.o pci_irq.o
42 acpi-y
+= acpi_platform.o
46 acpi-
$(CONFIG_DEBUG_FS
) += debugfs.o
47 acpi-
$(CONFIG_ACPI_NUMA
) += numa.o
48 acpi-
$(CONFIG_ACPI_PROCFS_POWER
) += cm_sbs.o
49 ifdef CONFIG_ACPI_VIDEO
50 acpi-y
+= video_detect.o
53 # These are (potentially) separate modules
55 # IPMI may be used by other drivers, so it has to initialise before them
56 obj-
$(CONFIG_ACPI_IPMI
) += acpi_ipmi.o
58 obj-
$(CONFIG_ACPI_AC
) += ac.o
59 obj-
$(CONFIG_ACPI_BUTTON
) += button.o
60 obj-
$(CONFIG_ACPI_FAN
) += fan.o
61 obj-
$(CONFIG_ACPI_VIDEO
) += video.o
62 obj-
$(CONFIG_ACPI_PCI_SLOT
) += pci_slot.o
63 obj-
$(CONFIG_ACPI_PROCESSOR
) += processor.o
64 obj-
$(CONFIG_ACPI_CONTAINER
) += container.o
65 obj-
$(CONFIG_ACPI_THERMAL
) += thermal.o
66 obj-
$(CONFIG_ACPI_HOTPLUG_MEMORY
) += acpi_memhotplug.o
67 obj-
$(CONFIG_ACPI_BATTERY
) += battery.o
68 obj-
$(CONFIG_ACPI_SBS
) += sbshc.o
69 obj-
$(CONFIG_ACPI_SBS
) += sbs.o
70 obj-
$(CONFIG_ACPI_HED
) += hed.o
71 obj-
$(CONFIG_ACPI_EC_DEBUGFS
) += ec_sys.o
72 obj-
$(CONFIG_ACPI_CUSTOM_METHOD
)+= custom_method.o
73 obj-
$(CONFIG_ACPI_BGRT
) += bgrt.o
74 obj-
$(CONFIG_ACPI_I2C
) += acpi_i2c.o
76 # processor has its own "processor." module_param namespace
77 processor-y
:= processor_driver.o processor_throttling.o
78 processor-y
+= processor_idle.o processor_thermal.o
79 processor-
$(CONFIG_CPU_FREQ
) += processor_perflib.o
81 obj-
$(CONFIG_ACPI_PROCESSOR_AGGREGATOR
) += acpi_pad.o
83 obj-
$(CONFIG_ACPI_APEI
) += apei
/