From b5d6002463050c9a417347110a7785b435ff5f90 Mon Sep 17 00:00:00 2001 From: patacongo Date: Sun, 1 Jun 2008 15:29:10 +0000 Subject: [PATCH] Condition on optimization backward git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@761 42af7a65-404d-4744-a932-0658087f49c3 --- configs/sim/nettest/Make.defs | 4 ++-- configs/sim/ostest/Make.defs | 4 ++-- configs/sim/pashello/Make.defs | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/configs/sim/nettest/Make.defs b/configs/sim/nettest/Make.defs index d0cd57f864..b4b553946b 100644 --- a/configs/sim/nettest/Make.defs +++ b/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/configs/sim/ostest/Make.defs b/configs/sim/ostest/Make.defs index d0cd57f864..b4b553946b 100644 --- a/configs/sim/ostest/Make.defs +++ b/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/configs/sim/pashello/Make.defs b/configs/sim/pashello/Make.defs index 8b300eed62..063585ab9c 100644 --- a/configs/sim/pashello/Make.defs +++ b/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