Explorar el Código

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 hace 6 años
padre
commit
7cc22d72e9
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      config/Config-kernel.in

+ 2 - 2
config/Config-kernel.in

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