xref: /linux/drivers/misc/cxl/Makefile (revision a19bd79e31769626d288cc016e21a31b6f47bf6f)
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
6*a19bd79eSIan Munsiecxl-y				+= vphb.o phb.o api.o
7594ff7d0SChristophe 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