WIP FPC-III support
[linux/fpc-iii.git] / drivers / misc / cxl / Makefile
blob5eea61b9584fb1315494693b335c9901a7c0eeee
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 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)