From e6e16479eb1559c46d23c0187f0c33735935185a Mon Sep 17 00:00:00 2001 From: patacongo Date: Sun, 1 Jun 2008 15:29:10 +0000 Subject: Condition on optimization backward git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@761 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/configs/sim/nettest/Make.defs | 4 ++-- nuttx/configs/sim/ostest/Make.defs | 4 ++-- nuttx/configs/sim/pashello/Make.defs | 4 ++-- 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 -- cgit v1.2.3