xref: /openbmc/linux/drivers/misc/ocxl/Makefile (revision 24069d81)
1# SPDX-License-Identifier: GPL-2.0+
2ccflags-$(CONFIG_PPC_WERROR)	+= -Werror
3
4ocxl-y				+= main.o pci.o config.o file.o pasid.o mmio.o
5ocxl-y				+= link.o context.o afu_irq.o sysfs.o trace.o
6ocxl-y				+= core.o
7obj-$(CONFIG_OCXL)		+= ocxl.o
8
9# For tracepoints to include our trace.h from tracepoint infrastructure:
10CFLAGS_trace.o := -I$(src)
11
12# ccflags-y += -DDEBUG
13