#
# Makefile for the Linux ACPI interpreter
#
ccflags-y := -Os
ccflags-$([31mCONFIG_ACPI_DEBUG[0m) += -DACPI_DEBUG_OUTPUT
#
# ACPI Boot-Time Table Parsing
#
obj-$([31mCONFIG_ACPI[0m) += tables.o
obj-$([31mCONFIG_X86[0m) += blacklist.o
#
# ACPI Core Subsystem (Interpreter)
#
obj-$([31mCONFIG_ACPI[0m) += acpi.o \
acpica/
# All the builtin files are in the "acpi." module_param namespace.
acpi-y += osi.o osl.o utils.o reboot.o
acpi-y += nvs.o
# Power management related files
acpi-y += wakeup.o
acpi-$([31mCONFIG_ACPI_SYSTEM_POWER_STATES_SUPPORT[0m) += sleep.o
acpi-y += device_sysfs.o device_pm.o
acpi-$([31mCONFIG_ACPI_SLEEP[0m) += proc.o
#
# ACPI Bus and Device Drivers
#
acpi-y += bus.o glue.o
acpi-y += scan.o
acpi-y += resource.o
acpi-y += acpi_processor.o
acpi-y += processor_core.o
acpi-$([31mCONFIG_ARCH_MIGHT_HAVE_ACPI_PDC[0m) += processor_pdc.o
acpi-y += ec.o
acpi-$([31mCONFIG_ACPI_DOCK[0m) += dock.o
acpi-y += pci_root.o pci_link.o pci_irq.o
obj-$([31mCONFIG_ACPI_MCFG[0m) += pci_mcfg.o
acpi-y += acpi_lpss.o acpi_apd.o
acpi-y += acpi_platform.o
acpi-y += acpi_pnp.o
acpi-$([31mCONFIG_ARM_AMBA[0m) += acpi_amba.o
acpi-y += power.o
acpi-y += event.o
acpi-$([31mCONFIG_ACPI_REDUCED_HARDWARE_ONLY[0m) += evged.o
acpi-y += sysfs.o
acpi-y += property.o
acpi-$([31mCONFIG_X86[0m) += acpi_cmos_rtc.o
acpi-$([31mCONFIG_DEBUG_FS[0m) += debugfs.o
acpi-$([31mCONFIG_ACPI_NUMA[0m) += numa.o
acpi-$([31mCONFIG_ACPI_PROCFS_POWER[0m) += cm_sbs.o
acpi-y += acpi_lpat.o
acpi-$([31mCONFIG_ACPI_GENERIC_GSI[0m) += gsi.o
acpi-$([31mCONFIG_ACPI_WATCHDOG[0m) += acpi_watchdog.o
# These are (potentially) separate modules
# IPMI may be used by other drivers, so it has to initialise before them
obj-$([31mCONFIG_ACPI_IPMI[0m) += acpi_ipmi.o
obj-$([31mCONFIG_ACPI_AC[0m) += ac.o
obj-$([31mCONFIG_ACPI_BUTTON[0m) += button.o
obj-$([31mCONFIG_ACPI_FAN[0m) += fan.o
obj-$([31mCONFIG_ACPI_VIDEO[0m) += video.o
obj-$([31mCONFIG_ACPI_PCI_SLOT[0m) += pci_slot.o
obj-$([31mCONFIG_ACPI_PROCESSOR[0m) += processor.o
obj-$([31mCONFIG_ACPI[0m) += container.o
obj-$([31mCONFIG_ACPI_THERMAL[0m) += thermal.o
obj-$([31mCONFIG_ACPI_NFIT[0m) += nfit/
obj-$([31mCONFIG_ACPI[0m) += acpi_memhotplug.o
obj-$([31mCONFIG_ACPI_HOTPLUG_IOAPIC[0m) += ioapic.o
obj-$([31mCONFIG_ACPI_BATTERY[0m) += battery.o
obj-$([31mCONFIG_ACPI_SBS[0m) += sbshc.o
obj-$([31mCONFIG_ACPI_SBS[0m) += sbs.o
obj-$([31mCONFIG_ACPI_HED[0m) += hed.o
obj-$([31mCONFIG_ACPI_EC_DEBUGFS[0m) += ec_sys.o
obj-$([31mCONFIG_ACPI_CUSTOM_METHOD[0m)+= custom_method.o
obj-$([31mCONFIG_ACPI_BGRT[0m) += bgrt.o
obj-$([31mCONFIG_ACPI_CPPC_LIB[0m) += cppc_acpi.o
obj-$([31mCONFIG_ACPI_SPCR_TABLE[0m) += spcr.o
obj-$([31mCONFIG_ACPI_DEBUGGER_USER[0m) += acpi_dbg.o
# processor has its own "processor." module_param namespace
processor-y := processor_driver.o
processor-$([31mCONFIG_ACPI_PROCESSOR_IDLE[0m) += processor_idle.o
processor-$([31mCONFIG_ACPI_CPU_FREQ_PSS[0m) += processor_throttling.o \
processor_thermal.o
processor-$([31mCONFIG_CPU_FREQ[0m) += processor_perflib.o
obj-$([31mCONFIG_ACPI_PROCESSOR_AGGREGATOR[0m) += acpi_pad.o
obj-$([31mCONFIG_ACPI_APEI[0m) += apei/
obj-$([31mCONFIG_ACPI_EXTLOG[0m) += acpi_extlog.o
obj-$([31mCONFIG_PMIC_OPREGION[0m) += pmic/intel_pmic.o
obj-$([31mCONFIG_CRC_PMIC_OPREGION[0m) += pmic/intel_pmic_crc.o
obj-$([31mCONFIG_XPOWER_PMIC_OPREGION[0m) += pmic/intel_pmic_xpower.o
obj-$([31mCONFIG_BXT_WC_PMIC_OPREGION[0m) += pmic/intel_pmic_bxtwc.o
obj-$([31mCONFIG_ACPI_CONFIGFS[0m) += acpi_configfs.o
video-objs += acpi_video.o video_detect.o
obj-y += dptf/
obj-$([31mCONFIG_ARM64[0m) += arm64/