generic: reduce kernel size some more (#2510)

Remove a few features that became enabled by default since OpenWrt 19.07.
Disabling CONFIG_RELAY also reduces RAM usage.
This commit is contained in:
Matthias Schiffer 2022-05-07 15:16:47 +02:00 committed by GitHub
parent 1bcd4a47c9
commit b1a12a4a0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,11 +44,20 @@ try_config('PACKAGE_ATH_DEBUG', true)
try_config('TARGET_SQUASHFS_BLOCK_SIZE', 256) try_config('TARGET_SQUASHFS_BLOCK_SIZE', 256)
config('KERNEL_PROC_STRIPPED', true)
config('KERNEL_AIO', false)
config('KERNEL_IO_URING', false)
config('KERNEL_FHANDLE', false)
config('KERNEL_FANOTIFY', false)
config('KERNEL_CGROUPS', false)
config('KERNEL_IP_MROUTE', false) config('KERNEL_IP_MROUTE', false)
config('KERNEL_IPV6_MROUTE', false) config('KERNEL_IPV6_MROUTE', false)
config('KERNEL_IPV6_SEG6_LWTUNNEL', false) config('KERNEL_IPV6_SEG6_LWTUNNEL', false)
config('SECCOMP', false) config('SECCOMP', false)
config('KERNEL_SECCOMP', false) config('KERNEL_SECCOMP', false)
-- kmod-mt7915e pulls in CONFIG_KERNEL_RELAY
-- use try_config, so enabling the package is still possible
try_config('PACKAGE_kmod-mt7915e', false)
config('COLLECT_KERNEL_DEBUG', true) config('COLLECT_KERNEL_DEBUG', true)