2021-02-17 04:09:50 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
2024-10-25 19:32:55 +00:00
|
|
|
|
|
|
|
# Order is important here for the built-in case:
|
|
|
|
# - 'core' first for fundamental init
|
|
|
|
# - 'port' before platform root drivers like 'acpi' so that CXL-root ports
|
|
|
|
# are immediately enabled
|
|
|
|
# - 'mem' and 'pmem' before endpoint drivers so that memdevs are
|
|
|
|
# immediately enabled
|
|
|
|
# - 'pci' last, also mirrors the hardware enumeration hierarchy
|
2022-04-22 22:58:11 +00:00
|
|
|
obj-y += core/
|
2024-10-25 19:32:55 +00:00
|
|
|
obj-$(CONFIG_CXL_PORT) += cxl_port.o
|
2021-06-09 16:01:35 +00:00
|
|
|
obj-$(CONFIG_CXL_ACPI) += cxl_acpi.o
|
2021-06-15 23:18:17 +00:00
|
|
|
obj-$(CONFIG_CXL_PMEM) += cxl_pmem.o
|
2024-10-25 19:32:55 +00:00
|
|
|
obj-$(CONFIG_CXL_MEM) += cxl_mem.o
|
|
|
|
obj-$(CONFIG_CXL_PCI) += cxl_pci.o
|
2021-02-17 04:09:50 +00:00
|
|
|
|
2024-10-25 19:32:55 +00:00
|
|
|
cxl_port-y := port.o
|
2021-06-09 16:01:35 +00:00
|
|
|
cxl_acpi-y := acpi.o
|
2022-11-30 19:21:36 +00:00
|
|
|
cxl_pmem-y := pmem.o security.o
|
2024-10-25 19:32:55 +00:00
|
|
|
cxl_mem-y := mem.o
|
|
|
|
cxl_pci-y := pci.o
|