Makefile 688 B

123456789101112131415161718192021
  1. # SPDX-License-Identifier: GPL-2.0
  2. # Order is important here for the built-in case:
  3. # - 'core' first for fundamental init
  4. # - 'port' before platform root drivers like 'acpi' so that CXL-root ports
  5. # are immediately enabled
  6. # - 'mem' and 'pmem' before endpoint drivers so that memdevs are
  7. # immediately enabled
  8. # - 'pci' last, also mirrors the hardware enumeration hierarchy
  9. obj-y += core/
  10. obj-$(CONFIG_CXL_PORT) += cxl_port.o
  11. obj-$(CONFIG_CXL_ACPI) += cxl_acpi.o
  12. obj-$(CONFIG_CXL_PMEM) += cxl_pmem.o
  13. obj-$(CONFIG_CXL_MEM) += cxl_mem.o
  14. obj-$(CONFIG_CXL_PCI) += cxl_pci.o
  15. cxl_port-y := port.o
  16. cxl_acpi-y := acpi.o
  17. cxl_pmem-y := pmem.o security.o
  18. cxl_mem-y := mem.o
  19. cxl_pci-y := pci.o