summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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