summaryrefslogtreecommitdiffstats
path: root/drivers/net/thunderbolt/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/thunderbolt/Makefile')
-rw-r--r--drivers/net/thunderbolt/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/thunderbolt/Makefile b/drivers/net/thunderbolt/Makefile
new file mode 100644
index 0000000000..e81c2a4849
--- /dev/null
+++ b/drivers/net/thunderbolt/Makefile
@@ -0,0 +1,6 @@
+# SPDX-License-Identifier: GPL-2.0
+obj-$(CONFIG_USB4_NET) := thunderbolt_net.o
+thunderbolt_net-objs := main.o trace.o
+
+# Tracepoints need to know where to find trace.h
+CFLAGS_trace.o := -I$(src)