config: kernel: only enable container features if !SMALL_FLASH
authorDaniel Golle <daniel@makrotopia.org>
Thu, 12 Sep 2019 11:17:24 +0000 (13:17 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 12 Sep 2019 11:17:24 +0000 (13:17 +0200)
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 <daniel@makrotopia.org>
config/Config-kernel.in

index 310c6dfd073acce3ddcb95d92ee33a17830071e9..bdb6b91cbb0a44b22c1854027e3c9964b324a0ab 100644 (file)
@@ -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