[PATCH 3/3] kernel: enable kernel keyring by default on !SMALL_FLASH
Daniel Golle
daniel at makrotopia.org
Sat Dec 12 17:04:06 EST 2020
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 <daniel at 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
More information about the openwrt-devel
mailing list