Makefile 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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. # sleep related files
  20. acpi-y += wakeup.o
  21. acpi-y += sleep.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 += processor_core.o
  29. acpi-y += ec.o
  30. acpi-$(CONFIG_ACPI_DOCK) += dock.o
  31. acpi-y += pci_root.o pci_link.o pci_irq.o pci_bind.o
  32. acpi-y += power.o
  33. acpi-y += event.o
  34. acpi-y += sysfs.o
  35. acpi-$(CONFIG_DEBUG_FS) += debugfs.o
  36. acpi-$(CONFIG_ACPI_NUMA) += numa.o
  37. acpi-$(CONFIG_ACPI_PROCFS_POWER) += cm_sbs.o
  38. ifdef CONFIG_ACPI_VIDEO
  39. acpi-y += video_detect.o
  40. endif
  41. # These are (potentially) separate modules
  42. obj-$(CONFIG_ACPI_AC) += ac.o
  43. obj-$(CONFIG_ACPI_BUTTON) += button.o
  44. obj-$(CONFIG_ACPI_FAN) += fan.o
  45. obj-$(CONFIG_ACPI_VIDEO) += video.o
  46. obj-$(CONFIG_ACPI_PCI_SLOT) += pci_slot.o
  47. obj-$(CONFIG_ACPI_PROCESSOR) += processor.o
  48. obj-$(CONFIG_ACPI_CONTAINER) += container.o
  49. obj-$(CONFIG_ACPI_THERMAL) += thermal.o
  50. obj-$(CONFIG_ACPI_HOTPLUG_MEMORY) += acpi_memhotplug.o
  51. obj-$(CONFIG_ACPI_BATTERY) += battery.o
  52. obj-$(CONFIG_ACPI_SBS) += sbshc.o
  53. obj-$(CONFIG_ACPI_SBS) += sbs.o
  54. obj-$(CONFIG_ACPI_HED) += hed.o
  55. obj-$(CONFIG_ACPI_EC_DEBUGFS) += ec_sys.o
  56. obj-$(CONFIG_ACPI_CUSTOM_METHOD)+= custom_method.o
  57. obj-$(CONFIG_ACPI_BGRT) += bgrt.o
  58. # processor has its own "processor." module_param namespace
  59. processor-y := processor_driver.o processor_throttling.o
  60. processor-y += processor_idle.o processor_thermal.o
  61. processor-$(CONFIG_CPU_FREQ) += processor_perflib.o
  62. obj-$(CONFIG_ACPI_PROCESSOR_AGGREGATOR) += acpi_pad.o
  63. obj-$(CONFIG_ACPI_IPMI) += acpi_ipmi.o
  64. obj-$(CONFIG_ACPI_APEI) += apei/