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