Makefile 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. #
  2. # Makefile for the Linux ACPI interpreter
  3. #
  4. ccflags-$(CONFIG_ACPI_DEBUG) += -DACPI_DEBUG_OUTPUT
  5. #
  6. # ACPI Boot-Time Table Parsing
  7. #
  8. obj-$(CONFIG_ACPI) += tables.o
  9. obj-$(CONFIG_X86) += blacklist.o
  10. #
  11. # ACPI Core Subsystem (Interpreter)
  12. #
  13. obj-$(CONFIG_ACPI) += acpi.o \
  14. acpica/
  15. # All the builtin files are in the "acpi." module_param namespace.
  16. acpi-y += osi.o osl.o utils.o reboot.o
  17. acpi-y += nvs.o
  18. # Power management related files
  19. acpi-y += wakeup.o
  20. acpi-$(CONFIG_ACPI_SYSTEM_POWER_STATES_SUPPORT) += sleep.o
  21. acpi-y += device_sysfs.o device_pm.o
  22. acpi-$(CONFIG_ACPI_SLEEP) += proc.o
  23. #
  24. # ACPI Bus and Device Drivers
  25. #
  26. acpi-y += bus.o glue.o
  27. acpi-y += scan.o
  28. acpi-y += resource.o
  29. acpi-y += acpi_processor.o
  30. acpi-y += processor_core.o
  31. acpi-$(CONFIG_ARCH_MIGHT_HAVE_ACPI_PDC) += processor_pdc.o
  32. acpi-y += ec.o
  33. acpi-$(CONFIG_ACPI_DOCK) += dock.o
  34. acpi-y += pci_root.o pci_link.o pci_irq.o
  35. obj-$(CONFIG_ACPI_MCFG) += pci_mcfg.o
  36. acpi-y += acpi_lpss.o acpi_apd.o
  37. acpi-y += acpi_platform.o
  38. acpi-y += acpi_pnp.o
  39. acpi-$(CONFIG_ARM_AMBA) += acpi_amba.o
  40. acpi-y += power.o
  41. acpi-y += event.o
  42. acpi-$(CONFIG_ACPI_REDUCED_HARDWARE_ONLY) += evged.o
  43. acpi-y += sysfs.o
  44. acpi-y += property.o
  45. acpi-$(CONFIG_X86) += acpi_cmos_rtc.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. acpi-y += acpi_lpat.o
  50. acpi-$(CONFIG_ACPI_GENERIC_GSI) += gsi.o
  51. acpi-$(CONFIG_ACPI_WATCHDOG) += acpi_watchdog.o
  52. # These are (potentially) separate modules
  53. # IPMI may be used by other drivers, so it has to initialise before them
  54. obj-$(CONFIG_ACPI_IPMI) += acpi_ipmi.o
  55. obj-$(CONFIG_ACPI_AC) += ac.o
  56. obj-$(CONFIG_ACPI_BUTTON) += button.o
  57. obj-$(CONFIG_ACPI_FAN) += fan.o
  58. obj-$(CONFIG_ACPI_VIDEO) += video.o
  59. obj-$(CONFIG_ACPI_PCI_SLOT) += pci_slot.o
  60. obj-$(CONFIG_ACPI_PROCESSOR) += processor.o
  61. obj-$(CONFIG_ACPI) += container.o
  62. obj-$(CONFIG_ACPI_THERMAL) += thermal.o
  63. obj-$(CONFIG_ACPI_NFIT) += nfit/
  64. obj-$(CONFIG_ACPI) += acpi_memhotplug.o
  65. obj-$(CONFIG_ACPI_HOTPLUG_IOAPIC) += ioapic.o
  66. obj-$(CONFIG_ACPI_BATTERY) += battery.o
  67. obj-$(CONFIG_ACPI_SBS) += sbshc.o
  68. obj-$(CONFIG_ACPI_SBS) += sbs.o
  69. obj-$(CONFIG_ACPI_HED) += hed.o
  70. obj-$(CONFIG_ACPI_EC_DEBUGFS) += ec_sys.o
  71. obj-$(CONFIG_ACPI_CUSTOM_METHOD)+= custom_method.o
  72. obj-$(CONFIG_ACPI_BGRT) += bgrt.o
  73. obj-$(CONFIG_ACPI_CPPC_LIB) += cppc_acpi.o
  74. obj-$(CONFIG_ACPI_SPCR_TABLE) += spcr.o
  75. obj-$(CONFIG_ACPI_DEBUGGER_USER) += acpi_dbg.o
  76. # processor has its own "processor." module_param namespace
  77. processor-y := processor_driver.o
  78. processor-$(CONFIG_ACPI_PROCESSOR_IDLE) += processor_idle.o
  79. processor-$(CONFIG_ACPI_CPU_FREQ_PSS) += processor_throttling.o \
  80. processor_thermal.o
  81. processor-$(CONFIG_CPU_FREQ) += processor_perflib.o
  82. obj-$(CONFIG_ACPI_PROCESSOR_AGGREGATOR) += acpi_pad.o
  83. obj-$(CONFIG_ACPI_APEI) += apei/
  84. obj-$(CONFIG_ACPI_EXTLOG) += acpi_extlog.o
  85. obj-$(CONFIG_PMIC_OPREGION) += pmic/intel_pmic.o
  86. obj-$(CONFIG_CRC_PMIC_OPREGION) += pmic/intel_pmic_crc.o
  87. obj-$(CONFIG_XPOWER_PMIC_OPREGION) += pmic/intel_pmic_xpower.o
  88. obj-$(CONFIG_BXT_WC_PMIC_OPREGION) += pmic/intel_pmic_bxtwc.o
  89. obj-$(CONFIG_ACPI_CONFIGFS) += acpi_configfs.o
  90. video-objs += acpi_video.o video_detect.o
  91. obj-y += dptf/
  92. obj-$(CONFIG_ARM64) += arm64/