summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/cxlflash/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/cxlflash/Makefile')
-rw-r--r--drivers/scsi/cxlflash/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/scsi/cxlflash/Makefile b/drivers/scsi/cxlflash/Makefile
index 7ec3f6b55dde..283377d8f6fb 100644
--- a/drivers/scsi/cxlflash/Makefile
+++ b/drivers/scsi/cxlflash/Makefile
@@ -1,2 +1,4 @@
obj-$(CONFIG_CXLFLASH) += cxlflash.o
-cxlflash-y += main.o superpipe.o lunmgt.o vlun.o cxl_hw.o
+cxlflash-y += main.o superpipe.o lunmgt.o vlun.o
+cxlflash-$(CONFIG_CXL) += cxl_hw.o
+cxlflash-$(CONFIG_OCXL) += ocxl_hw.o