xref: /openbmc/linux/drivers/misc/ocxl/Makefile (revision 6a767685)
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
5ocxl-y				+= link.o context.o afu_irq.o sysfs.o trace.o
6obj-$(CONFIG_OCXL)		+= ocxl.o
7
8# For tracepoints to include our trace.h from tracepoint infrastructure:
9CFLAGS_trace.o := -I$(src)
10
11# ccflags-y += -DDEBUG
12