This is an automated email from the ASF dual-hosted git repository.

aguettouche pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit e57203eca44a0d5ff86640d1c88cdef27b473c19
Author: Xiang Xiao <xiaoxi...@xiaomi.com>
AuthorDate: Mon Nov 8 11:10:12 2021 +0800

    sched: Disable message queue by default when DEFAULT_SMALL equals y
    
    Signed-off-by: Xiang Xiao <xiaoxi...@xiaomi.com>
---
 sched/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sched/Kconfig b/sched/Kconfig
index 69b1992..6209e8c 100644
--- a/sched/Kconfig
+++ b/sched/Kconfig
@@ -41,7 +41,8 @@ config DISABLE_PTHREAD
 
 config DISABLE_MQUEUE
        bool "Disable POSIX message queue support"
-       default n
+       default y if DEFAULT_SMALL
+       default n if !DEFAULT_SMALL
 
 config DISABLE_ENVIRON
        bool "Disable environment variable support"

Reply via email to