diff --git a/config/Config-kernel.in b/config/Config-kernel.in index 64c8c63466..f854276ef6 100644 --- a/config/Config-kernel.in +++ b/config/Config-kernel.in @@ -1477,6 +1477,7 @@ config KERNEL_JFFS2_FS_SECURITY config KERNEL_WERROR bool "Compile the kernel with warnings as errors" + depends on !TARGET_ipq95xx_generic help A kernel build should not cause any compiler warnings, and this enables the '-Werror' (for C) and '-Dwarnings' (for Rust) flags