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