xref: /linux/drivers/misc/cxl/Makefile (revision 39d40871526627fd0e2cfc1e2fb88500a5049c4c)
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
5*39d40871SAndrew Donnellancxl-y				+= context.o sysfs.o pci.o trace.o
6a19bd79eSIan Munsiecxl-y				+= vphb.o phb.o api.o
7594ff7d0SChristophe Lombardcxl-$(CONFIG_PPC_PSERIES)	+= flash.o guest.o of.o hcalls.o
8*39d40871SAndrew Donnellancxl-$(CONFIG_DEBUG_FS)		+= debugfs.o
9881632c9SIan Munsieobj-$(CONFIG_CXL)		+= cxl.o
1010542ca0SIan Munsieobj-$(CONFIG_CXL_BASE)		+= base.o
119bcf28cdSIan Munsie
129bcf28cdSIan Munsie# For tracepoints to include our trace.h from tracepoint infrastructure:
139bcf28cdSIan MunsieCFLAGS_trace.o := -I$(src)
14