xref: /openbmc/linux/drivers/misc/ocxl/Makefile (revision 7e462c2a)
1b97f0224SFrederic Barrat# SPDX-License-Identifier: GPL-2.0+
2b97f0224SFrederic Barratccflags-$(CONFIG_PPC_WERROR)	+= -Werror
3b97f0224SFrederic Barrat
47e462c2aSAlastair D'Silvaocxl-y				+= main.o pci.o config.o file.o pasid.o mmio.o
5b97f0224SFrederic Barratocxl-y				+= link.o context.o afu_irq.o sysfs.o trace.o
61ba21436SAlastair 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