aboutsummaryrefslogtreecommitdiff
path: root/nuttx/libxx/Kconfig
diff options
context:
space:
mode:
authorpx4dev <px4@purgatory.org>2013-01-14 21:01:58 -0800
committerpx4dev <px4@purgatory.org>2013-01-14 21:01:58 -0800
commit854c6436b4e3b292fd04843795d0369dc8856783 (patch)
tree4d5602f5c70926d2dcd01294561ddd8df4378462 /nuttx/libxx/Kconfig
parent6d138a845aabad31060bd00da0d20d177d3f4be4 (diff)
parentc38ad4ded570eddadeeca3579d02dfc63dcc8a9d (diff)
downloadpx4-firmware-854c6436b4e3b292fd04843795d0369dc8856783.tar.gz
px4-firmware-854c6436b4e3b292fd04843795d0369dc8856783.tar.bz2
px4-firmware-854c6436b4e3b292fd04843795d0369dc8856783.zip
Pull NuttX up to the 6.24 release.
Merge branch 'nuttx-merge-5447'
Diffstat (limited to 'nuttx/libxx/Kconfig')
-rw-r--r--nuttx/libxx/Kconfig42
1 files changed, 42 insertions, 0 deletions
diff --git a/nuttx/libxx/Kconfig b/nuttx/libxx/Kconfig
index 4133a0ceb..9c78342c2 100644
--- a/nuttx/libxx/Kconfig
+++ b/nuttx/libxx/Kconfig
@@ -3,6 +3,16 @@
# see misc/tools/kconfig-language.txt.
#
+comment "Basic CXX Support"
+
+config C99_BOOL8
+ bool "sizeof(_Bool) is 8-bits"
+ default n
+ ---help---
+ This setting means (1) your C++ compiler has sizeof(_Bool) == 8, (2)
+ your C compiler supports the C99 _Bool intrinsic type, and (2) that
+ the C99 _Bool type also has size 1.
+
config HAVE_CXX
bool "Have C++ compiler"
default n
@@ -10,6 +20,8 @@ config HAVE_CXX
Toolchain supports C++ and CXX, CXXFLAGS, and COMPILEXX have been
defined in the configurations Make.defs file.
+if HAVE_CXX
+
config HAVE_CXXINITIALIZE
bool "Have C++ initialization"
default n
@@ -25,3 +37,33 @@ config CXX_NEWLONG
size_t may be type long or type int. This matters for some
C++ library routines because the NuttX size_t might not have
the same underlying type as your toolchain's size_t.
+
+comment "uClibc++ Standard C++ Library"
+
+config UCLIBCXX
+ bool "Build uClibc++ (must be installed)"
+ default n
+ ---help---
+ If you have installed uClibc++ into the NuttX source try, then it can
+ be built by selecting this option. See misc/uClibc++/README.txt for
+ information on installing uClibc++.
+
+if UCLIBCXX
+
+config UCLIBCXX_EXCEPTION
+ bool "Enable Exception Suppport"
+ default y
+
+config UCLIBCXX_IOSTREAM_BUFSIZE
+ int "IO Stream Buffer Size"
+ default 32
+
+config UCLIBCXX_HAVE_LIBSUPCXX
+ bool "Have libsupc++ (required)"
+ default y
+ ---help---
+ Select if your toolchain provides libsupc++. This option is required
+ at present because the built-in libsupc++ support is incomplete.
+
+endif
+endif