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