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

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

commit 528d18ef266f2c0214e5bf0a86c11312c4ae6a98
Author: zhuyanlin <[email protected]>
AuthorDate: Wed Aug 25 14:26:21 2021 +0800

    libxx: rename NUTTX_LIBCXX
    
    NUTTX_LIBCXX is only basic C++ support, do not support many c++
    library function, NUTTX_NOCXXLIB is more suitable.
    When NUTTX_NOCXXLIB is select, do not select lower level support.
    
    Change-Id: I158937a4ba02f8fa3c76101acbdfb295d8cd736f
---
 libs/libxx/Kconfig | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/libs/libxx/Kconfig b/libs/libxx/Kconfig
index 5cdfc5d..bdf3b9b 100644
--- a/libs/libxx/Kconfig
+++ b/libs/libxx/Kconfig
@@ -24,14 +24,14 @@ if HAVE_CXX
 
 choice
        prompt "C++ Library"
-       default NUTTX_LIBXX
+       default NOCXXLIB
 
-config NUTTX_LIBXX
-       bool "NuttX C++ library"
+config NOCXXLIB
+       bool "NuttX Basic C++ support"
        ---help---
                A fragmentary C++ library that will allow to build only
-               the simplest of C++ applications.  In the deeply embedded world,
-               that is probably all that is necessary.
+               the simplest of C++ applications. Only contain basic C++
+               runtime support function.
 
 config LIBCXX
        bool "LLVM libc++ C++ Standard Library"
@@ -50,6 +50,8 @@ config UCLIBCXX
 
 endchoice
 
+if LIBCXX || UCLIBCXX
+
 choice
        prompt "C++ low level library select"
        default CXX_LIBSUPCXX
@@ -69,6 +71,8 @@ config CXX_LIBSUPCXX
 
 endchoice
 
+endif
+
 config HAVE_CXXINITIALIZE
        bool "Have C++ initialization"
        default LIBCXX || UCLIBCXX

Reply via email to