summaryrefslogtreecommitdiff
path: root/nuttx/libxx
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-03 13:02:31 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-03 13:02:31 +0000
commit4dbeffdd45e8c8f21d626e498b0e6971b76132fa (patch)
treea020ff768421c953e5bd2b4e1510e37561a296de /nuttx/libxx
parent8e7c3d9a4676c5ec1b6b3e9f243af474420ea9fb (diff)
downloadpx4-nuttx-4dbeffdd45e8c8f21d626e498b0e6971b76132fa.tar.gz
px4-nuttx-4dbeffdd45e8c8f21d626e498b0e6971b76132fa.tar.bz2
px4-nuttx-4dbeffdd45e8c8f21d626e498b0e6971b76132fa.zip
uClibc++ updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5302 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/libxx')
-rw-r--r--nuttx/libxx/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/nuttx/libxx/Makefile b/nuttx/libxx/Makefile
index e563b9647..a749269b0 100644
--- a/nuttx/libxx/Makefile
+++ b/nuttx/libxx/Makefile
@@ -40,9 +40,14 @@
ASRCS =
CSRCS =
-CXXSRCS = libxx_cxapurevirtual.cxx libxx_delete.cxx libxx_deletea.cxx
-CXXSRCS += libxx_eabi_atexit.cxx libxx_cxa_atexit.cxx libxx_new.cxx
-CXXSRCS += libxx_newa.cxx
+CXXSRCS = libxx_cxapurevirtual.cxx libxx_eabi_atexit.cxx libxx_cxa_atexit.cxx
+
+# Some of the libxx/ files are not need if uClibc++ is installed because
+# uClibx++ replaces them
+
+ifneq ($(CONFIG_UCLIBCXX),y)
+CXXSRCS += libxx_delete.cxx libxx_deletea.cxx libxx_new.cxx libxx_newa.cxx
+endif
# Paths