diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-09-15 14:18:15 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-09-15 14:18:15 +0000 |
commit | a3f9769a1e25b60594eb5563779c53d602f25ddd (patch) | |
tree | adfdba82696e70936c1b2923e418c88977093394 /nuttx/configs/c5471evm | |
parent | 152cfb69e4ebd748584c4f5466be62e2f017a59b (diff) | |
download | px4-nuttx-a3f9769a1e25b60594eb5563779c53d602f25ddd.tar.gz px4-nuttx-a3f9769a1e25b60594eb5563779c53d602f25ddd.tar.bz2 px4-nuttx-a3f9769a1e25b60594eb5563779c53d602f25ddd.zip |
Add CONFIG_DEBUG_SYMBOLS
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2053 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/c5471evm')
-rw-r--r-- | nuttx/configs/c5471evm/Make.defs | 4 | ||||
-rw-r--r-- | nuttx/configs/c5471evm/defconfig | 3 | ||||
-rw-r--r-- | nuttx/configs/c5471evm/dhcpconfig | 3 | ||||
-rw-r--r-- | nuttx/configs/c5471evm/netconfig | 3 | ||||
-rw-r--r-- | nuttx/configs/c5471evm/nshconfig | 3 |
5 files changed, 14 insertions, 2 deletions
diff --git a/nuttx/configs/c5471evm/Make.defs b/nuttx/configs/c5471evm/Make.defs index 94a853b62..355df3971 100644 --- a/nuttx/configs/c5471evm/Make.defs +++ b/nuttx/configs/c5471evm/Make.defs @@ -47,7 +47,7 @@ OBJDUMP = $(CROSSDEV)objdump ARCHCCVERSION = ${shell $(CC) -v 2>&1 | sed -n '/^gcc version/p' | sed -e 's/^gcc version \([0-9\.]\)/\1/g' -e 's/[-\ ].*//g' -e '1q'} ARCHCCMAJOR = ${shell echo $(ARCHCCVERSION) | cut -d'.' -f1} -ifeq ("${CONFIG_DEBUG}","y") +ifeq ("${CONFIG_DEBUG_SYMBOLS}","y") ARCHOPTIMIZATION = -g else ARCHOPTIMIZATION = -Os -fno-strict-aliasing -fno-strength-reduce \ @@ -81,7 +81,7 @@ OBJEXT = .o LIBEXT = .a EXEEXT = -ifeq ("${CONFIG_DEBUG}","y") +ifeq ("${CONFIG_DEBUG_SYMBOLS}","y") LDFLAGS += -g endif diff --git a/nuttx/configs/c5471evm/defconfig b/nuttx/configs/c5471evm/defconfig index b5c16baa6..6078b238f 100644 --- a/nuttx/configs/c5471evm/defconfig +++ b/nuttx/configs/c5471evm/defconfig @@ -139,6 +139,8 @@ CONFIG_HAVE_LIBM=n # that will be used in the build # CONFIG_DEBUG - enables built-in debug options # CONFIG_DEBUG_VERBOSE - enables verbose debug output +# CONFIG_DEBUG_SYMBOLS - build without optimization and with +# debug symbols (needed for use with a debugger). # CONFIG_MM_REGIONS - If the architecture includes multiple # regions of memory to allocate from, this specifies the # number of memory regions that the memory manager must @@ -201,6 +203,7 @@ CONFIG_HAVE_LIBM=n CONFIG_EXAMPLE=ostest CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n +CONFIG_DEBUG_SYMBOLS=n CONFIG_MM_REGIONS=1 CONFIG_ARCH_LOWPUTC=y CONFIG_RR_INTERVAL=200 diff --git a/nuttx/configs/c5471evm/dhcpconfig b/nuttx/configs/c5471evm/dhcpconfig index e631b739c..517fb82e9 100644 --- a/nuttx/configs/c5471evm/dhcpconfig +++ b/nuttx/configs/c5471evm/dhcpconfig @@ -139,6 +139,8 @@ CONFIG_HAVE_LIBM=n # that will be used in the build # CONFIG_DEBUG - enables built-in debug options # CONFIG_DEBUG_VERBOSE - enables verbose debug output +# CONFIG_DEBUG_SYMBOLS - build without optimization and with +# debug symbols (needed for use with a debugger). # CONFIG_MM_REGIONS - If the architecture includes multiple # regions of memory to allocate from, this specifies the # number of memory regions that the memory manager must @@ -201,6 +203,7 @@ CONFIG_HAVE_LIBM=n CONFIG_EXAMPLE=uip CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n +CONFIG_DEBUG_SYMBOLS=n CONFIG_MM_REGIONS=1 CONFIG_ARCH_LOWPUTC=y CONFIG_RR_INTERVAL=200 diff --git a/nuttx/configs/c5471evm/netconfig b/nuttx/configs/c5471evm/netconfig index 0d0feed91..dacc7d8b8 100644 --- a/nuttx/configs/c5471evm/netconfig +++ b/nuttx/configs/c5471evm/netconfig @@ -139,6 +139,8 @@ CONFIG_NET_C5471_BASET10=n # that will be used in the build # CONFIG_DEBUG - enables built-in debug options # CONFIG_DEBUG_VERBOSE - enables verbose debug output +# CONFIG_DEBUG_SYMBOLS - build without optimization and with +# debug symbols (needed for use with a debugger). # CONFIG_MM_REGIONS - If the architecture includes multiple # regions of memory to allocate from, this specifies the # number of memory regions that the memory manager must @@ -201,6 +203,7 @@ CONFIG_NET_C5471_BASET10=n CONFIG_EXAMPLE=nettest CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n +CONFIG_DEBUG_SYMBOLS=n CONFIG_MM_REGIONS=1 CONFIG_ARCH_LOWPUTC=y CONFIG_RR_INTERVAL=200 diff --git a/nuttx/configs/c5471evm/nshconfig b/nuttx/configs/c5471evm/nshconfig index 3ced42317..7ef567c66 100644 --- a/nuttx/configs/c5471evm/nshconfig +++ b/nuttx/configs/c5471evm/nshconfig @@ -139,6 +139,8 @@ CONFIG_HAVE_LIBM=n # that will be used in the build # CONFIG_DEBUG - enables built-in debug options # CONFIG_DEBUG_VERBOSE - enables verbose debug output +# CONFIG_DEBUG_SYMBOLS - build without optimization and with +# debug symbols (needed for use with a debugger). # CONFIG_MM_REGIONS - If the architecture includes multiple # regions of memory to allocate from, this specifies the # number of memory regions that the memory manager must @@ -201,6 +203,7 @@ CONFIG_HAVE_LIBM=n CONFIG_EXAMPLE=nsh CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n +CONFIG_DEBUG_SYMBOLS=n CONFIG_MM_REGIONS=1 CONFIG_ARCH_LOWPUTC=y CONFIG_RR_INTERVAL=200 |