kernel: only strip proc for small flash devices
[openwrt/staging/chunkeey.git] / config / Config-kernel.in
index c9efed84d3f53ba0d328017a788d21f94ff301ca..e22fcf63826cb368581bfc574a9b3f5d0817f706 100644 (file)
@@ -35,6 +35,10 @@ config KERNEL_SWAP
        bool "Support for paging of anonymous memory (swap)"
        default y if !SMALL_FLASH
 
+config KERNEL_PROC_STRIPPED
+       bool "Strip non-essential /proc functionality to reduce code size"
+       default y if SMALL_FLASH
+
 config KERNEL_DEBUG_FS
        bool "Compile the kernel with debug filesystem enabled"
        default y
@@ -376,7 +380,7 @@ config KERNEL_AIO
 config KERNEL_IO_URING
        bool "Compile the kernel with io_uring support"
        default y if !SMALL_FLASH
-       depends on LINUX_5_4 
+       depends on LINUX_5_4
 
 config KERNEL_FHANDLE
        bool "Compile the kernel with support for fhandle syscalls"