xref: /linux/drivers/cxl/Makefile (revision b1966a1fd218e1f5d5376bf352f9a4c26aba50b5)
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
10obj-y += core/
11obj-$(CONFIG_CXL_PORT) += cxl_port.o
12obj-$(CONFIG_CXL_ACPI) += cxl_acpi.o
13obj-$(CONFIG_CXL_PMEM) += cxl_pmem.o
14obj-$(CONFIG_CXL_MEM) += cxl_mem.o
15obj-$(CONFIG_CXL_PCI) += cxl_pci.o
16
17cxl_port-y := port.o
18cxl_acpi-y := acpi.o
19cxl_pmem-y := pmem.o security.o
20cxl_mem-y := mem.o
21cxl_pci-y := pci.o
22