summaryrefslogtreecommitdiff
path: root/nuttx/configs/ez80f910200zco/nsh/Make.defs
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/ez80f910200zco/nsh/Make.defs')
-rw-r--r--nuttx/configs/ez80f910200zco/nsh/Make.defs4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/configs/ez80f910200zco/nsh/Make.defs b/nuttx/configs/ez80f910200zco/nsh/Make.defs
index e28aef2a4..0f03fdcac 100644
--- a/nuttx/configs/ez80f910200zco/nsh/Make.defs
+++ b/nuttx/configs/ez80f910200zco/nsh/Make.defs
@@ -68,7 +68,7 @@ ARCHCPUDEF = _EZ80F91
ARCHFAMILY = _EZ80ACCLAIM!
endif
-ifeq ("${CONFIG_DEBUG}","y")
+ifeq ("${CONFIG_DEBUG_SYMBOLS}","y")
ARCHASMOPTIMIZATION = -debug -NOsdiopt
else
ARCHASMOPTIMIZATION = -nodebug -NOsdiopt
@@ -85,7 +85,7 @@ AFLAGS = $(ARCHASMCPUFLAGS) $(ARCHASMINCLUDES) $(ARCHASMLIST) \
# Compiler definitions
-ifeq ("${CONFIG_DEBUG}","y")
+ifeq ("${CONFIG_DEBUG_SYMBOLS}","y")
ARCHOPTIMIZATION = -debug -reduceopt
else
ARCHOPTIMIZATION = -nodebug -optsize