1# SPDX-License-Identifier: GPL-2.0 2ccflags-y := $(call cc-disable-warning, unused-const-variable) 3ccflags-$(CONFIG_PPC_WERROR) += -Werror 4 5cxl-y += main.o file.o irq.o fault.o native.o 6cxl-y += context.o sysfs.o pci.o trace.o 7cxl-y += vphb.o api.o cxllib.o 8cxl-$(CONFIG_PPC_PSERIES) += flash.o guest.o of.o hcalls.o 9cxl-$(CONFIG_DEBUG_FS) += debugfs.o 10obj-$(CONFIG_CXL) += cxl.o 11obj-$(CONFIG_CXL_BASE) += base.o 12 13# For tracepoints to include our trace.h from tracepoint infrastructure: 14CFLAGS_trace.o := -I$(src) 15