From: Stijn Tintel Date: Sat, 2 Apr 2022 20:41:27 +0000 (+0300) Subject: kernel: add missing symbol X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f3ffb04a43465dbe06ffb22e0a9d228b8b1ad0a2;p=openwrt%2Fstaging%2Fblocktrron.git kernel: add missing symbol Enabling KERNEL_KPROBES exposes KERNEL_BPF_KPROBE_OVERRIDE. Add a build option for it to fix build failures with KERNEL_KPROBES enabled. Signed-off-by: Stijn Tintel (cherry picked from commit 500c37c56ff60b46c30bb0ea7c92676bea23331a) --- diff --git a/config/Config-kernel.in b/config/Config-kernel.in index 31d4e276fd..5e12ddd78d 100644 --- a/config/Config-kernel.in +++ b/config/Config-kernel.in @@ -422,6 +422,11 @@ config KERNEL_KPROBE_EVENTS bool default y if KERNEL_KPROBES +config KERNEL_BPF_KPROBE_OVERRIDE + bool + depends on KERNEL_KPROBES + default n + config KERNEL_AIO bool "Compile the kernel with asynchronous IO support" default y if !SMALL_FLASH