summaryrefslogtreecommitdiff
path: root/nuttx/libxx/Makefile
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-01 21:08:56 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-01 21:08:56 +0000
commit6bd29cb2e3c9dfedee2cbd73a324eaef76c292ae (patch)
treea99511f64eea990fb7d0f9595cc4933608fc8567 /nuttx/libxx/Makefile
parent43f7ddc7d410a4982ec78cc45cc413a3270d1b52 (diff)
downloadpx4-nuttx-6bd29cb2e3c9dfedee2cbd73a324eaef76c292ae.tar.gz
px4-nuttx-6bd29cb2e3c9dfedee2cbd73a324eaef76c292ae.tar.bz2
px4-nuttx-6bd29cb2e3c9dfedee2cbd73a324eaef76c292ae.zip
uClibc++ compiles... but it is a long way from linking
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5293 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/libxx/Makefile')
-rw-r--r--nuttx/libxx/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/nuttx/libxx/Makefile b/nuttx/libxx/Makefile
index bc8c5012e..e563b9647 100644
--- a/nuttx/libxx/Makefile
+++ b/nuttx/libxx/Makefile
@@ -49,12 +49,19 @@ CXXSRCS += libxx_newa.cxx
DEPPATH = --dep-path .
VPATH = .
-# Include the uClibc++ Make.defs file (if it is present). If is present,
+# Include the uClibc++ Make.defs file if selected. If it is included,
# the uClibc++/Make.defs file will add its files to the source file list,
# add its DEPPATH info, and will add the appropriate paths to the VPATH
# variable
-
--include uClibc++/Make.defs
+#
+# Note that an error will occur if you select CONFIG_LIBXX_UCLIBCXX
+# without installing the uClibc++ package. This is intentional to let
+# you know about the configuration problem. Refer to misc/uClibc++/README.txt
+# for more information
+
+ifeq ($(CONFIG_UCLIBCXX),y)
+include uClibc++/Make.defs
+endif
# Object Files