blob: 5eea61b9584fb1315494693b335c9901a7c0eeee [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Brian Norris57f7c392016-01-08 10:30:10 -08002ccflags-y := $(call cc-disable-warning, unused-const-variable)
3ccflags-$(CONFIG_PPC_WERROR) += -Werror
Daniel Axtensd3d73f42015-08-07 13:18:17 +10004
Michael Neuling406e12e2015-05-27 16:07:15 +10005cxl-y += main.o file.o irq.o fault.o native.o
Andrew Donnellan39d40872017-02-01 14:22:07 +11006cxl-y += context.o sysfs.o pci.o trace.o
Frederic Barratf18a4e12018-06-28 12:05:08 +02007cxl-y += vphb.o api.o cxllib.o
Christophe Lombard594ff7d2016-03-04 12:26:38 +01008cxl-$(CONFIG_PPC_PSERIES) += flash.o guest.o of.o hcalls.o
Andrew Donnellan39d40872017-02-01 14:22:07 +11009cxl-$(CONFIG_DEBUG_FS) += debugfs.o
Ian Munsie881632c2014-10-08 19:55:04 +110010obj-$(CONFIG_CXL) += cxl.o
Ian Munsie10542ca2014-10-08 19:55:01 +110011obj-$(CONFIG_CXL_BASE) += base.o
Ian Munsie9bcf28c2015-01-09 20:34:36 +110012
13# For tracepoints to include our trace.h from tracepoint infrastructure:
14CFLAGS_trace.o := -I$(src)