summaryrefslogtreecommitdiff
path: root/nuttx/Makefile
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-04-19 16:52:56 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-04-19 16:52:56 +0000
commit63d7033ac1bb84f570940e2db79f5ca0f39b1ac6 (patch)
tree975d6e1e9b9d9e14718c62827bc8247507e657a3 /nuttx/Makefile
parent43935f865a5f23262f107eda1f4be59476397c51 (diff)
downloadpx4-nuttx-63d7033ac1bb84f570940e2db79f5ca0f39b1ac6.tar.gz
px4-nuttx-63d7033ac1bb84f570940e2db79f5ca0f39b1ac6.tar.bz2
px4-nuttx-63d7033ac1bb84f570940e2db79f5ca0f39b1ac6.zip
Need more positive control over C++
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1716 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/Makefile')
-rw-r--r--nuttx/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/nuttx/Makefile b/nuttx/Makefile
index 0c4f292cc..e1cd92333 100644
--- a/nuttx/Makefile
+++ b/nuttx/Makefile
@@ -101,7 +101,7 @@ LINKLIBS = sched/libsched$(LIBEXT) $(ARCH_SRC)/libarch$(LIBEXT) mm/libmm$(LIBEXT
# Add libraries for network support. CXX, CXXFLAGS, and COMPILEXX must
# be defined in Make.defs for this to work!
-ifneq ($(CXX),)
+ifeq ($(CONFIG_HAVE_CXX),y)
LINKLIBS += libxx/liblibxx$(LIBEXT)
endif
@@ -203,10 +203,8 @@ sched/libsched$(LIBEXT): context
lib/liblib$(LIBEXT): context
@$(MAKE) -C lib TOPDIR="$(TOPDIR)" liblib$(LIBEXT)
-ifneq ($(CXX),)
libxx/liblibxx$(LIBEXT): context
@$(MAKE) -C libxx TOPDIR="$(TOPDIR)" liblibxx$(LIBEXT)
-endif
$(ARCH_SRC)/libarch$(LIBEXT): context
@$(MAKE) -C $(ARCH_SRC) TOPDIR="$(TOPDIR)" libarch$(LIBEXT)