kernel: add missing KASAN config symbols
[openwrt/openwrt.git] / config / Config-kernel.in
index dc249a6031f52a378a344eaa2aa845ca7697894c..2243e3e5bc70d6d12bcc31267c834571e3dbb644 100644 (file)
@@ -147,6 +147,13 @@ config KERNEL_KASAN_EXTRA
          compile time.
          https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81715 has more
 
          compile time.
          https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81715 has more
 
+if KERNEL_KASAN
+       config KERNEL_KASAN_GENERIC
+       def_bool y
+
+       config KERNEL_KASAN_SW_TAGS
+       def_bool n
+endif
 
 choice
        prompt "Instrumentation type"
 
 choice
        prompt "Instrumentation type"