summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/misc/cxl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/misc/cxl/Makefile')
-rw-r--r--kernel/drivers/misc/cxl/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/kernel/drivers/misc/cxl/Makefile b/kernel/drivers/misc/cxl/Makefile
index edb494d3f..6982f603f 100644
--- a/kernel/drivers/misc/cxl/Makefile
+++ b/kernel/drivers/misc/cxl/Makefile
@@ -1,4 +1,8 @@
-cxl-y += main.o file.o irq.o fault.o native.o context.o sysfs.o debugfs.o pci.o trace.o
+ccflags-y := -Werror -Wno-unused-const-variable
+
+cxl-y += main.o file.o irq.o fault.o native.o
+cxl-y += context.o sysfs.o debugfs.o pci.o trace.o
+cxl-y += vphb.o api.o
obj-$(CONFIG_CXL) += cxl.o
obj-$(CONFIG_CXL_BASE) += base.o