Makefile 2.7 KB

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