xref: /linux/drivers/misc/cxl/Makefile (revision 594ff7d067ca42676e27e2a7b5dcc0ff039d08ca)
157f7c393SBrian Norrisccflags-y			:= $(call cc-disable-warning, unused-const-variable)
257f7c393SBrian Norrisccflags-$(CONFIG_PPC_WERROR)	+= -Werror
3d3d73f4bSDaniel Axtens
4406e12ecSMichael Neulingcxl-y				+= main.o file.o irq.o fault.o native.o
5406e12ecSMichael Neulingcxl-y				+= context.o sysfs.o debugfs.o pci.o trace.o
66f7f0b3dSMichael Neulingcxl-y				+= vphb.o api.o
7*594ff7d0SChristophe Lombardcxl-$(CONFIG_PPC_PSERIES)	+= flash.o guest.o of.o hcalls.o
8881632c9SIan Munsieobj-$(CONFIG_CXL)		+= cxl.o
910542ca0SIan Munsieobj-$(CONFIG_CXL_BASE)		+= base.o
109bcf28cdSIan Munsie
119bcf28cdSIan Munsie# For tracepoints to include our trace.h from tracepoint infrastructure:
129bcf28cdSIan MunsieCFLAGS_trace.o := -I$(src)
13