xref: /linux/drivers/misc/ocxl/Makefile (revision b97f02246e0d12f70249a16f931153b8b5b249bd)
1*b97f0224SFrederic Barrat# SPDX-License-Identifier: GPL-2.0+
2*b97f0224SFrederic Barratccflags-$(CONFIG_PPC_WERROR)	+= -Werror
3*b97f0224SFrederic Barrat
4*b97f0224SFrederic Barratocxl-y				+= main.o pci.o config.o file.o pasid.o
5*b97f0224SFrederic Barratocxl-y				+= link.o context.o afu_irq.o sysfs.o trace.o
6*b97f0224SFrederic Barratobj-$(CONFIG_OCXL)		+= ocxl.o
7*b97f0224SFrederic Barrat
8*b97f0224SFrederic Barrat# For tracepoints to include our trace.h from tracepoint infrastructure:
9*b97f0224SFrederic BarratCFLAGS_trace.o := -I$(src)
10*b97f0224SFrederic Barrat
11*b97f0224SFrederic Barrat# ccflags-y += -DDEBUG
12