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