xref: /openbmc/linux/drivers/cxl/core/Makefile (revision 1ad3f701)
1# SPDX-License-Identifier: GPL-2.0
2obj-$(CONFIG_CXL_BUS) += cxl_core.o
3obj-$(CONFIG_CXL_SUSPEND) += suspend.o
4
5ccflags-y += -I$(srctree)/drivers/cxl
6CFLAGS_trace.o = -DTRACE_INCLUDE_PATH=. -I$(src)
7
8cxl_core-y := port.o
9cxl_core-y += pmem.o
10cxl_core-y += regs.o
11cxl_core-y += memdev.o
12cxl_core-y += mbox.o
13cxl_core-y += pci.o
14cxl_core-y += hdm.o
15cxl_core-y += pmu.o
16cxl_core-$(CONFIG_TRACING) += trace.o
17cxl_core-$(CONFIG_CXL_REGION) += region.o
18