xref: /linux/drivers/misc/ocxl/Makefile (revision 4b132aacb0768ac1e652cf517097ea6f237214b9)
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