summaryrefslogtreecommitdiff
path: root/drivers/ntb/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ntb/Makefile')
-rw-r--r--drivers/ntb/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/ntb/Makefile b/drivers/ntb/Makefile
index 15cb59fd354e..3a6fa181ff99 100644
--- a/drivers/ntb/Makefile
+++ b/drivers/ntb/Makefile
@@ -1,3 +1,6 @@
-obj-$(CONFIG_NTB) += ntb.o
+# SPDX-License-Identifier: GPL-2.0-only
+obj-$(CONFIG_NTB) += ntb.o hw/ test/
+obj-$(CONFIG_NTB_TRANSPORT) += ntb_transport.o
-ntb-objs := ntb_hw.o ntb_transport.o
+ntb-y := core.o
+ntb-$(CONFIG_NTB_MSI) += msi.o