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