summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-06-01 15:29:10 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-06-01 15:29:10 +0000
commite6e16479eb1559c46d23c0187f0c33735935185a (patch)
treed266217b394c7a29ed71c2143d52630993c6523b
parentc9c13919234b384f7c077c0a858446666027d08f (diff)
downloadpx4-nuttx-e6e16479eb1559c46d23c0187f0c33735935185a.tar.gz
px4-nuttx-e6e16479eb1559c46d23c0187f0c33735935185a.tar.bz2
px4-nuttx-e6e16479eb1559c46d23c0187f0c33735935185a.zip
Condition on optimization backward
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@761 42af7a65-404d-4744-a932-0658087f49c3
-rw-r--r--nuttx/configs/sim/nettest/Make.defs4
-rw-r--r--nuttx/configs/sim/ostest/Make.defs4
-rw-r--r--nuttx/configs/sim/pashello/Make.defs4
3 files changed, 6 insertions, 6 deletions
diff --git a/nuttx/configs/sim/nettest/Make.defs b/nuttx/configs/sim/nettest/Make.defs
index d0cd57f86..b4b553946 100644
--- a/nuttx/configs/sim/nettest/Make.defs
+++ b/nuttx/configs/sim/nettest/Make.defs
@@ -36,8 +36,8 @@
include ${TOPDIR}/.config
HOSTOS = ${shell uname -o}
-
-ifneq ("${CONFIG_DEBUG}","y")
+
+ifeq ($(CONFIG_DEBUG),y)
ARCHOPTIMIZATION = -g
else
ARCHOPTIMIZATION = -O2
diff --git a/nuttx/configs/sim/ostest/Make.defs b/nuttx/configs/sim/ostest/Make.defs
index d0cd57f86..b4b553946 100644
--- a/nuttx/configs/sim/ostest/Make.defs
+++ b/nuttx/configs/sim/ostest/Make.defs
@@ -36,8 +36,8 @@
include ${TOPDIR}/.config
HOSTOS = ${shell uname -o}
-
-ifneq ("${CONFIG_DEBUG}","y")
+
+ifeq ($(CONFIG_DEBUG),y)
ARCHOPTIMIZATION = -g
else
ARCHOPTIMIZATION = -O2
diff --git a/nuttx/configs/sim/pashello/Make.defs b/nuttx/configs/sim/pashello/Make.defs
index 8b300eed6..063585ab9 100644
--- a/nuttx/configs/sim/pashello/Make.defs
+++ b/nuttx/configs/sim/pashello/Make.defs
@@ -36,8 +36,8 @@
include ${TOPDIR}/.config
HOSTOS = ${shell uname -o}
-
-ifneq ("${CONFIG_DEBUG}","y")
+
+ifeq ($(CONFIG_DEBUG),y)
ARCHOPTIMIZATION = -g
else
ARCHOPTIMIZATION = -O2