summaryrefslogtreecommitdiff
path: root/nuttx/configs/sim/pashello
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/sim/pashello')
-rw-r--r--nuttx/configs/sim/pashello/Make.defs9
1 files changed, 8 insertions, 1 deletions
diff --git a/nuttx/configs/sim/pashello/Make.defs b/nuttx/configs/sim/pashello/Make.defs
index 9f23c5da8..8b300eed6 100644
--- a/nuttx/configs/sim/pashello/Make.defs
+++ b/nuttx/configs/sim/pashello/Make.defs
@@ -35,6 +35,8 @@
include ${TOPDIR}/.config
+HOSTOS = ${shell uname -o}
+
ifneq ("${CONFIG_DEBUG}","y")
ARCHOPTIMIZATION = -g
else
@@ -62,7 +64,12 @@ AFLAGS = $(CFLAGS) -D__ASSEMBLY__
OBJEXT = .o
LIBEXT = .a
-EXEEXT =
+
+ifeq ($(HOSTOS),Cygwin)
+ EXEEXT = .exe
+else
+ EXEEXT =
+endif
ifeq ("${CONFIG_DEBUG}","y")
LDFLAGS += -g