summaryrefslogtreecommitdiff
path: root/drivers/cdx/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/cdx/Makefile')
-rw-r--r--drivers/cdx/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/cdx/Makefile b/drivers/cdx/Makefile
index 5d1ea482419f..749a3295c2bd 100644
--- a/drivers/cdx/Makefile
+++ b/drivers/cdx/Makefile
@@ -8,3 +8,7 @@
ccflags-y += -DDEFAULT_SYMBOL_NAMESPACE=CDX_BUS
obj-$(CONFIG_CDX_BUS) += cdx.o controller/
+
+ifdef CONFIG_GENERIC_MSI_IRQ
+obj-$(CONFIG_CDX_BUS) += cdx_msi.o
+endif