Enable CONFIG_KEYS by default on systems which are not flash-space
constraint.

Adds about 50kB to vmlinux on ath79/generic (~18kB compressed)

Signed-off-by: Daniel Golle <dan...@makrotopia.org>
---
 config/Config-kernel.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config/Config-kernel.in b/config/Config-kernel.in
index b5eba78719..3f013aa2b2 100644
--- a/config/Config-kernel.in
+++ b/config/Config-kernel.in
@@ -532,7 +532,7 @@ endif
 
 config KERNEL_KEYS
        bool "Enable kernel access key retention support"
-       default n
+       default !SMALL_FLASH
 
 config KERNEL_PERSISTENT_KEYRINGS
        bool "Enable kernel persistent keyrings"
-- 
2.29.2


_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to