diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-11-02 23:22:48 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-11-02 23:22:48 +0000 |
commit | 3c21deaf5b357b69a32b515c620616a2b6242594 (patch) | |
tree | 6e51b4248a054654fd98ba2e88084d54a40dcf31 /nuttx/configs/sim/cxxtest/Make.defs | |
parent | 93e2ebb1e771bf5a4bfd250def96f61b3df91b04 (diff) | |
download | px4-nuttx-3c21deaf5b357b69a32b515c620616a2b6242594.tar.gz px4-nuttx-3c21deaf5b357b69a32b515c620616a2b6242594.tar.bz2 px4-nuttx-3c21deaf5b357b69a32b515c620616a2b6242594.zip |
Create an STM32F4Discovery configuration for testing uClibc++
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5300 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/sim/cxxtest/Make.defs')
-rw-r--r-- | nuttx/configs/sim/cxxtest/Make.defs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/nuttx/configs/sim/cxxtest/Make.defs b/nuttx/configs/sim/cxxtest/Make.defs index 7b0c524b4..6f945cc51 100644 --- a/nuttx/configs/sim/cxxtest/Make.defs +++ b/nuttx/configs/sim/cxxtest/Make.defs @@ -93,6 +93,10 @@ LDLINKFLAGS = $(ARCHSCRIPT) # Link flags used with $(LD) CCLINKFLAGS = $(ARCHSCRIPT) # Link flags used with $(CC) LDFLAGS = $(ARCHSCRIPT) # For backward compatibility, same as CCLINKFLAGS +LIBSUPXX = ${shell $(CC) --print-file-name=libsupc++.a} +EXTRA_LIBPATHS = -L "${shell dirname "$(LIBSUPXX)"}" +EXTRA_LIBS = -lsupc++ + ifeq ($(CONFIG_DEBUG_SYMBOLS),y) LDLINKFLAGS += -g CCLINKFLAGS += -g @@ -105,8 +109,6 @@ ifeq ($(CONFIG_SIM_M32),y) LDFLAGS += -m32 endif -EXTRA_LIBS = -lsupc++ - MKDEP = $(TOPDIR)/tools/mkdeps.sh HOSTCC = gcc |