xref: /linux/drivers/misc/cxl/Makefile (revision 3eb66e91a25497065c5322b1268cbc3953642227)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
257f7c393SBrian Norrisccflags-y			:= $(call cc-disable-warning, unused-const-variable)
357f7c393SBrian Norrisccflags-$(CONFIG_PPC_WERROR)	+= -Werror
4d3d73f4bSDaniel Axtens
5406e12ecSMichael Neulingcxl-y				+= main.o file.o irq.o fault.o native.o
639d40871SAndrew Donnellancxl-y				+= context.o sysfs.o pci.o trace.o
7*f18a4e1dSFrederic Barratcxl-y				+= vphb.o api.o cxllib.o
8594ff7d0SChristophe Lombardcxl-$(CONFIG_PPC_PSERIES)	+= flash.o guest.o of.o hcalls.o
939d40871SAndrew Donnellancxl-$(CONFIG_DEBUG_FS)		+= debugfs.o
10881632c9SIan Munsieobj-$(CONFIG_CXL)		+= cxl.o
1110542ca0SIan Munsieobj-$(CONFIG_CXL_BASE)		+= base.o
129bcf28cdSIan Munsie
139bcf28cdSIan Munsie# For tracepoints to include our trace.h from tracepoint infrastructure:
149bcf28cdSIan MunsieCFLAGS_trace.o := -I$(src)
15