diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-12-20 13:23:42 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-12-20 13:23:42 -0600 |
commit | a94cda2860f4ea87f254966f71307e928ffe9bcb (patch) | |
tree | b29057af9d4225d96e8d3b661be773a63f596ea2 /nuttx/configs/lm3s6965-ek | |
parent | dfea55cdfbbe46972be0ccc9eed2c5402c96ca22 (diff) | |
download | px4-nuttx-a94cda2860f4ea87f254966f71307e928ffe9bcb.tar.gz px4-nuttx-a94cda2860f4ea87f254966f71307e928ffe9bcb.tar.bz2 px4-nuttx-a94cda2860f4ea87f254966f71307e928ffe9bcb.zip |
Finishes separation of debug symbols and optimization selections
Diffstat (limited to 'nuttx/configs/lm3s6965-ek')
-rw-r--r-- | nuttx/configs/lm3s6965-ek/discover/Make.defs | 6 | ||||
-rw-r--r-- | nuttx/configs/lm3s6965-ek/nsh/Make.defs | 6 | ||||
-rw-r--r-- | nuttx/configs/lm3s6965-ek/nx/Make.defs | 6 | ||||
-rw-r--r-- | nuttx/configs/lm3s6965-ek/ostest/Make.defs | 6 | ||||
-rw-r--r-- | nuttx/configs/lm3s6965-ek/tcpecho/Make.defs | 6 |
5 files changed, 20 insertions, 10 deletions
diff --git a/nuttx/configs/lm3s6965-ek/discover/Make.defs b/nuttx/configs/lm3s6965-ek/discover/Make.defs index e184b4015..96325b70f 100644 --- a/nuttx/configs/lm3s6965-ek/discover/Make.defs +++ b/nuttx/configs/lm3s6965-ek/discover/Make.defs @@ -68,8 +68,10 @@ ARCHCCMAJOR = ${shell echo $(ARCHCCVERSION) | cut -d'.' -f1} ifeq ($(CONFIG_DEBUG_SYMBOLS),y) ARCHOPTIMIZATION = -g -else - ARCHOPTIMIZATION = $(MAXOPTIMIZATION) -fno-strict-aliasing -fno-strength-reduce -fomit-frame-pointer +endif + +ifneq ($(CONFIG_DEBUG_NOOPT),y) + ARCHOPTIMIZATION += $(MAXOPTIMIZATION) -fno-strict-aliasing -fno-strength-reduce -fomit-frame-pointer endif ARCHCFLAGS = -fno-builtin diff --git a/nuttx/configs/lm3s6965-ek/nsh/Make.defs b/nuttx/configs/lm3s6965-ek/nsh/Make.defs index 6aaec391b..e07dce737 100644 --- a/nuttx/configs/lm3s6965-ek/nsh/Make.defs +++ b/nuttx/configs/lm3s6965-ek/nsh/Make.defs @@ -68,8 +68,10 @@ ARCHCCMAJOR = ${shell echo $(ARCHCCVERSION) | cut -d'.' -f1} ifeq ($(CONFIG_DEBUG_SYMBOLS),y) ARCHOPTIMIZATION = -g -else - ARCHOPTIMIZATION = $(MAXOPTIMIZATION) -fno-strict-aliasing -fno-strength-reduce -fomit-frame-pointer +endif + +ifneq ($(CONFIG_DEBUG_NOOPT),y) + ARCHOPTIMIZATION += $(MAXOPTIMIZATION) -fno-strict-aliasing -fno-strength-reduce -fomit-frame-pointer endif ARCHCFLAGS = -fno-builtin diff --git a/nuttx/configs/lm3s6965-ek/nx/Make.defs b/nuttx/configs/lm3s6965-ek/nx/Make.defs index a39737c2e..b826c1c31 100644 --- a/nuttx/configs/lm3s6965-ek/nx/Make.defs +++ b/nuttx/configs/lm3s6965-ek/nx/Make.defs @@ -68,8 +68,10 @@ ARCHCCMAJOR = ${shell echo $(ARCHCCVERSION) | cut -d'.' -f1} ifeq ($(CONFIG_DEBUG_SYMBOLS),y) ARCHOPTIMIZATION = -g -else - ARCHOPTIMIZATION = $(MAXOPTIMIZATION) -fno-strict-aliasing -fno-strength-reduce -fomit-frame-pointer +endif + +ifneq ($(CONFIG_DEBUG_NOOPT),y) + ARCHOPTIMIZATION += $(MAXOPTIMIZATION) -fno-strict-aliasing -fno-strength-reduce -fomit-frame-pointer endif ARCHCFLAGS = -fno-builtin diff --git a/nuttx/configs/lm3s6965-ek/ostest/Make.defs b/nuttx/configs/lm3s6965-ek/ostest/Make.defs index 8b4af6486..430636068 100644 --- a/nuttx/configs/lm3s6965-ek/ostest/Make.defs +++ b/nuttx/configs/lm3s6965-ek/ostest/Make.defs @@ -68,8 +68,10 @@ ARCHCCMAJOR = ${shell echo $(ARCHCCVERSION) | cut -d'.' -f1} ifeq ($(CONFIG_DEBUG_SYMBOLS),y) ARCHOPTIMIZATION = -g -else - ARCHOPTIMIZATION = $(MAXOPTIMIZATION) -fno-strict-aliasing -fno-strength-reduce -fomit-frame-pointer +endif + +ifneq ($(CONFIG_DEBUG_NOOPT),y) + ARCHOPTIMIZATION += $(MAXOPTIMIZATION) -fno-strict-aliasing -fno-strength-reduce -fomit-frame-pointer endif ARCHCFLAGS = -fno-builtin diff --git a/nuttx/configs/lm3s6965-ek/tcpecho/Make.defs b/nuttx/configs/lm3s6965-ek/tcpecho/Make.defs index 472d4dc57..4b530de5c 100644 --- a/nuttx/configs/lm3s6965-ek/tcpecho/Make.defs +++ b/nuttx/configs/lm3s6965-ek/tcpecho/Make.defs @@ -68,8 +68,10 @@ ARCHCCMAJOR = ${shell echo $(ARCHCCVERSION) | cut -d'.' -f1} ifeq ($(CONFIG_DEBUG_SYMBOLS),y) ARCHOPTIMIZATION = -g -else - ARCHOPTIMIZATION = $(MAXOPTIMIZATION) -fno-strict-aliasing -fno-strength-reduce -fomit-frame-pointer +endif + +ifneq ($(CONFIG_DEBUG_NOOPT),y) + ARCHOPTIMIZATION += $(MAXOPTIMIZATION) -fno-strict-aliasing -fno-strength-reduce -fomit-frame-pointer endif ARCHCFLAGS = -fno-builtin |