summaryrefslogtreecommitdiff
path: root/nuttx/configs/sim
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-09-15 14:18:15 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-09-15 14:18:15 +0000
commita3f9769a1e25b60594eb5563779c53d602f25ddd (patch)
treeadfdba82696e70936c1b2923e418c88977093394 /nuttx/configs/sim
parent152cfb69e4ebd748584c4f5466be62e2f017a59b (diff)
downloadpx4-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/sim')
-rw-r--r--nuttx/configs/sim/mount/Make.defs4
-rw-r--r--nuttx/configs/sim/mount/defconfig3
-rw-r--r--nuttx/configs/sim/nettest/Make.defs4
-rw-r--r--nuttx/configs/sim/nettest/defconfig3
-rw-r--r--nuttx/configs/sim/nsh/Make.defs4
-rw-r--r--nuttx/configs/sim/nsh/defconfig3
-rw-r--r--nuttx/configs/sim/nx/Make.defs4
-rw-r--r--nuttx/configs/sim/nx/defconfig3
-rw-r--r--nuttx/configs/sim/nx/defconfig-x113
-rw-r--r--nuttx/configs/sim/ostest/Make.defs4
-rw-r--r--nuttx/configs/sim/ostest/defconfig3
-rw-r--r--nuttx/configs/sim/pashello/Make.defs4
-rw-r--r--nuttx/configs/sim/pashello/defconfig3
13 files changed, 33 insertions, 12 deletions
diff --git a/nuttx/configs/sim/mount/Make.defs b/nuttx/configs/sim/mount/Make.defs
index df5512765..4bad4c183 100644
--- a/nuttx/configs/sim/mount/Make.defs
+++ b/nuttx/configs/sim/mount/Make.defs
@@ -37,7 +37,7 @@ include ${TOPDIR}/.config
HOSTOS = ${shell uname -o}
-ifeq ($(CONFIG_DEBUG),y)
+ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
ARCHOPTIMIZATION = -g
else
ARCHOPTIMIZATION = -O2
@@ -73,7 +73,7 @@ else
EXEEXT =
endif
-ifeq ("${CONFIG_DEBUG}","y")
+ifeq ("${CONFIG_DEBUG_SYMBOLS}","y")
LDFLAGS += -g
endif
diff --git a/nuttx/configs/sim/mount/defconfig b/nuttx/configs/sim/mount/defconfig
index 62af2a232..0f4cd9185 100644
--- a/nuttx/configs/sim/mount/defconfig
+++ b/nuttx/configs/sim/mount/defconfig
@@ -56,6 +56,8 @@ CONFIG_ARCH_BOARD_SIM=y
# 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
@@ -115,6 +117,7 @@ CONFIG_ARCH_BOARD_SIM=y
CONFIG_EXAMPLE=mount
CONFIG_DEBUG=y
CONFIG_DEBUG_VERBOSE=y
+CONFIG_DEBUG_SYMBOLS=n
CONFIG_MM_REGIONS=1
CONFIG_ARCH_LOWPUTC=y
CONFIG_RR_INTERVAL=0
diff --git a/nuttx/configs/sim/nettest/Make.defs b/nuttx/configs/sim/nettest/Make.defs
index ea8207d93..d00f5e923 100644
--- a/nuttx/configs/sim/nettest/Make.defs
+++ b/nuttx/configs/sim/nettest/Make.defs
@@ -37,7 +37,7 @@ include ${TOPDIR}/.config
HOSTOS = ${shell uname -o}
-ifeq ($(CONFIG_DEBUG),y)
+ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
ARCHOPTIMIZATION = -g
else
ARCHOPTIMIZATION = -O2
@@ -73,7 +73,7 @@ else
EXEEXT =
endif
-ifeq ("${CONFIG_DEBUG}","y")
+ifeq ("${CONFIG_DEBUG_SYMBOLS}","y")
LDFLAGS += -g
endif
diff --git a/nuttx/configs/sim/nettest/defconfig b/nuttx/configs/sim/nettest/defconfig
index 9067705c5..fde3940b7 100644
--- a/nuttx/configs/sim/nettest/defconfig
+++ b/nuttx/configs/sim/nettest/defconfig
@@ -56,6 +56,8 @@ CONFIG_ARCH_BOARD_SIM=y
# 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
@@ -115,6 +117,7 @@ CONFIG_ARCH_BOARD_SIM=y
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=0
diff --git a/nuttx/configs/sim/nsh/Make.defs b/nuttx/configs/sim/nsh/Make.defs
index 32dce8c5f..163224b7a 100644
--- a/nuttx/configs/sim/nsh/Make.defs
+++ b/nuttx/configs/sim/nsh/Make.defs
@@ -37,7 +37,7 @@ include ${TOPDIR}/.config
HOSTOS = ${shell uname -o}
-ifeq ($(CONFIG_DEBUG),y)
+ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
ARCHOPTIMIZATION = -g
else
ARCHOPTIMIZATION = -O2
@@ -73,7 +73,7 @@ else
EXEEXT =
endif
-ifeq ("${CONFIG_DEBUG}","y")
+ifeq ("${CONFIG_DEBUG_SYMBOLS}","y")
LDFLAGS += -g
endif
diff --git a/nuttx/configs/sim/nsh/defconfig b/nuttx/configs/sim/nsh/defconfig
index c200641f9..4089f0ad5 100644
--- a/nuttx/configs/sim/nsh/defconfig
+++ b/nuttx/configs/sim/nsh/defconfig
@@ -56,6 +56,8 @@ CONFIG_ARCH_BOARD_SIM=y
# 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
@@ -115,6 +117,7 @@ CONFIG_ARCH_BOARD_SIM=y
CONFIG_EXAMPLE=nsh
CONFIG_DEBUG=y
CONFIG_DEBUG_VERBOSE=y
+CONFIG_DEBUG_SYMBOLS=n
CONFIG_MM_REGIONS=1
CONFIG_ARCH_LOWPUTC=y
CONFIG_RR_INTERVAL=0
diff --git a/nuttx/configs/sim/nx/Make.defs b/nuttx/configs/sim/nx/Make.defs
index 936e161a2..2c5ae3ced 100644
--- a/nuttx/configs/sim/nx/Make.defs
+++ b/nuttx/configs/sim/nx/Make.defs
@@ -37,7 +37,7 @@ include ${TOPDIR}/.config
HOSTOS = ${shell uname -o}
-ifeq ($(CONFIG_DEBUG),y)
+ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
ARCHOPTIMIZATION = -g
else
ARCHOPTIMIZATION = -O2
@@ -73,7 +73,7 @@ else
EXEEXT =
endif
-ifeq ("${CONFIG_DEBUG}","y")
+ifeq ("${CONFIG_DEBUG_SYMBOLS}","y")
LDFLAGS += -g
endif
diff --git a/nuttx/configs/sim/nx/defconfig b/nuttx/configs/sim/nx/defconfig
index 4138f2304..1b33eb482 100644
--- a/nuttx/configs/sim/nx/defconfig
+++ b/nuttx/configs/sim/nx/defconfig
@@ -63,6 +63,8 @@ CONFIG_SIM_FBBPP=8
# 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
@@ -122,6 +124,7 @@ CONFIG_SIM_FBBPP=8
CONFIG_EXAMPLE=nx
CONFIG_DEBUG=y
CONFIG_DEBUG_VERBOSE=y
+CONFIG_DEBUG_SYMBOLS=n
CONFIG_DEBUG_GRAPHICS=y
CONFIG_MM_REGIONS=1
CONFIG_ARCH_LOWPUTC=y
diff --git a/nuttx/configs/sim/nx/defconfig-x11 b/nuttx/configs/sim/nx/defconfig-x11
index 95bc03eaf..8b7c83f24 100644
--- a/nuttx/configs/sim/nx/defconfig-x11
+++ b/nuttx/configs/sim/nx/defconfig-x11
@@ -63,6 +63,8 @@ CONFIG_SIM_FBBPP=32
# 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
@@ -122,6 +124,7 @@ CONFIG_SIM_FBBPP=32
CONFIG_EXAMPLE=nx
CONFIG_DEBUG=y
CONFIG_DEBUG_VERBOSE=y
+CONFIG_DEBUG_SYMBOLS=n
CONFIG_DEBUG_GRAPHICS=y
CONFIG_MM_REGIONS=1
CONFIG_ARCH_LOWPUTC=y
diff --git a/nuttx/configs/sim/ostest/Make.defs b/nuttx/configs/sim/ostest/Make.defs
index ea8207d93..d00f5e923 100644
--- a/nuttx/configs/sim/ostest/Make.defs
+++ b/nuttx/configs/sim/ostest/Make.defs
@@ -37,7 +37,7 @@ include ${TOPDIR}/.config
HOSTOS = ${shell uname -o}
-ifeq ($(CONFIG_DEBUG),y)
+ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
ARCHOPTIMIZATION = -g
else
ARCHOPTIMIZATION = -O2
@@ -73,7 +73,7 @@ else
EXEEXT =
endif
-ifeq ("${CONFIG_DEBUG}","y")
+ifeq ("${CONFIG_DEBUG_SYMBOLS}","y")
LDFLAGS += -g
endif
diff --git a/nuttx/configs/sim/ostest/defconfig b/nuttx/configs/sim/ostest/defconfig
index 8fee07a9b..ba1d7a61d 100644
--- a/nuttx/configs/sim/ostest/defconfig
+++ b/nuttx/configs/sim/ostest/defconfig
@@ -56,6 +56,8 @@ CONFIG_ARCH_BOARD_SIM=y
# 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
@@ -115,6 +117,7 @@ CONFIG_ARCH_BOARD_SIM=y
CONFIG_EXAMPLE=ostest
CONFIG_DEBUG=y
CONFIG_DEBUG_VERBOSE=y
+CONFIG_DEBUG_SYMBOLS=n
CONFIG_MM_REGIONS=1
CONFIG_ARCH_LOWPUTC=y
CONFIG_RR_INTERVAL=0
diff --git a/nuttx/configs/sim/pashello/Make.defs b/nuttx/configs/sim/pashello/Make.defs
index 66ed73599..7060ae542 100644
--- a/nuttx/configs/sim/pashello/Make.defs
+++ b/nuttx/configs/sim/pashello/Make.defs
@@ -37,7 +37,7 @@ include ${TOPDIR}/.config
HOSTOS = ${shell uname -o}
-ifeq ($(CONFIG_DEBUG),y)
+ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
ARCHOPTIMIZATION = -g
else
ARCHOPTIMIZATION = -O2
@@ -73,7 +73,7 @@ else
EXEEXT =
endif
-ifeq ("${CONFIG_DEBUG}","y")
+ifeq ("${CONFIG_DEBUG_SYMBOLS}","y")
LDFLAGS += -g
endif
EXTRA_LIBS = -lm
diff --git a/nuttx/configs/sim/pashello/defconfig b/nuttx/configs/sim/pashello/defconfig
index f2e21dc66..33694968e 100644
--- a/nuttx/configs/sim/pashello/defconfig
+++ b/nuttx/configs/sim/pashello/defconfig
@@ -56,6 +56,8 @@ CONFIG_ARCH_BOARD_SIM=y
# 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
@@ -115,6 +117,7 @@ CONFIG_ARCH_BOARD_SIM=y
CONFIG_EXAMPLE=pashello
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
+CONFIG_DEBUG_SYMBOLS=n
CONFIG_MM_REGIONS=1
CONFIG_ARCH_LOWPUTC=y
CONFIG_RR_INTERVAL=0