summaryrefslogtreecommitdiff
path: root/net/l2tp/Makefile
diff options
context:
space:
mode:
authorTom Parkin <tparkin@katalix.com>2020-08-22 15:59:04 +0100
committerDavid S. Miller <davem@davemloft.net>2020-08-22 12:44:37 -0700
commit3f117d6f4bbca722d9519e545294852d8e714fae (patch)
treea61a8309c9b41ed997892c3b68106311b63f1d81 /net/l2tp/Makefile
parent5ee759cda51b9b1c28994ea36e314427a58cb6d7 (diff)
l2tp: add tracepoint infrastructure to core
The l2tp subsystem doesn't currently make use of tracepoints. As a starting point for adding tracepoints, add skeleton infrastructure for defining tracepoints for the subsystem, and for having them build appropriately whether compiled into the kernel or built as a module. Signed-off-by: Tom Parkin <tparkin@katalix.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/l2tp/Makefile')
-rw-r--r--net/l2tp/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/l2tp/Makefile b/net/l2tp/Makefile
index 399a7e5db2f4..cf8f27071d3f 100644
--- a/net/l2tp/Makefile
+++ b/net/l2tp/Makefile
@@ -5,6 +5,8 @@
obj-$(CONFIG_L2TP) += l2tp_core.o
+CFLAGS_l2tp_core.o += -I$(src)
+
# Build l2tp as modules if L2TP is M
obj-$(subst y,$(CONFIG_L2TP),$(CONFIG_PPPOL2TP)) += l2tp_ppp.o
obj-$(subst y,$(CONFIG_L2TP),$(CONFIG_L2TP_IP)) += l2tp_ip.o