Ver Fonte

config: kernel: only enable container features if !SMALL_FLASH

KERNEL_DEVPTS_MULTIPLE_INSTANCES and KERNEL_POSIX_MQUEUE were
previously enabled by default only if KERNEL_LXC_MISC was selected.
KERNEL_LXC_MISC was enabled only if the SMALL_FLASH (anti-)feature
was not selected.
Now that KERNEL_LXC_MISC no longer exists, make sure that those
options are also only enabled by default for !SMALL_FLASH targets.

Fixes: 4f94a331 ("config: kernel: remove KERNEL_LXC_MISC")
Signed-off-by: Daniel Golle <[email protected]>
Daniel Golle há 6 anos atrás
pai
commit
7cc22d72e9
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      config/Config-kernel.in

+ 2 - 2
config/Config-kernel.in

@@ -625,7 +625,7 @@ endif
 
 
 config KERNEL_DEVPTS_MULTIPLE_INSTANCES
 config KERNEL_DEVPTS_MULTIPLE_INSTANCES
 	bool "Support multiple instances of devpts"
 	bool "Support multiple instances of devpts"
-	default y
+	default y if !SMALL_FLASH
 	help
 	help
 	  Enable support for multiple instances of devpts filesystem.
 	  Enable support for multiple instances of devpts filesystem.
 	  If you want to have isolated PTY namespaces (eg: in containers),
 	  If you want to have isolated PTY namespaces (eg: in containers),
@@ -635,7 +635,7 @@ config KERNEL_DEVPTS_MULTIPLE_INSTANCES
 
 
 config KERNEL_POSIX_MQUEUE
 config KERNEL_POSIX_MQUEUE
 	bool "POSIX Message Queues"
 	bool "POSIX Message Queues"
-	default y
+	default y if !SMALL_FLASH
 	help
 	help
 	  POSIX variant of message queues is a part of IPC. In POSIX message
 	  POSIX variant of message queues is a part of IPC. In POSIX message
 	  queues every message has a priority which decides about succession
 	  queues every message has a priority which decides about succession