summaryrefslogtreecommitdiff
path: root/drivers/ntb/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ntb/Makefile')
-rw-r--r--drivers/ntb/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/ntb/Makefile b/drivers/ntb/Makefile
index 15cb59fd354e..1921dec1949d 100644
--- a/drivers/ntb/Makefile
+++ b/drivers/ntb/Makefile
@@ -1,3 +1,2 @@
-obj-$(CONFIG_NTB) += ntb.o
-
-ntb-objs := ntb_hw.o ntb_transport.o
+obj-$(CONFIG_NTB) += ntb.o hw/ test/
+obj-$(CONFIG_NTB_TRANSPORT) += ntb_transport.o