From 093a6c67005148ae32a5c9e4553491b9f5c2457b Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Fri, 10 May 2024 07:40:51 +0000 Subject: [PATCH] disable kernel build waring --- kernel/net/l2tp/Makefile | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/kernel/net/l2tp/Makefile b/kernel/net/l2tp/Makefile index 399a7e5..cf8f270 100644 --- a/kernel/net/l2tp/Makefile +++ b/kernel/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 -- Gitblit v1.6.2