summaryrefslogtreecommitdiff
path: root/nuttx/graphics/nxconsole/Make.defs
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/graphics/nxconsole/Make.defs')
-rw-r--r--nuttx/graphics/nxconsole/Make.defs4
1 files changed, 4 insertions, 0 deletions
diff --git a/nuttx/graphics/nxconsole/Make.defs b/nuttx/graphics/nxconsole/Make.defs
index df84d758d..6438a93bf 100644
--- a/nuttx/graphics/nxconsole/Make.defs
+++ b/nuttx/graphics/nxconsole/Make.defs
@@ -37,3 +37,7 @@ NXCON_ASRCS =
NXCON_CSRCS = nx_register.c nxcon_driver.c nxcon_font.c nxcon_redraw.c
NXCON_CSRCS += nxcon_register.c nxcon_scroll.c nxcon_unregister.c
NXCON_CSRCS += nxtk_register.c nxtool_register.c
+
+ifeq ($(CONFIG_DEBUG),y)
+NXCON_CSRCS += nxcon_sem.c
+endif