summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-29 22:27:22 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-29 22:27:22 +0000
commita4792fbbd0f941bf00288b08a42d7359fe432239 (patch)
tree9b05f73e009a7fd112905bcf4cbcf2859b32457b /misc
parent034d4bae4d118facfe7af8b4f921f3af89342527 (diff)
downloadnuttx-a4792fbbd0f941bf00288b08a42d7359fe432239.tar.gz
nuttx-a4792fbbd0f941bf00288b08a42d7359fe432239.tar.bz2
nuttx-a4792fbbd0f941bf00288b08a42d7359fe432239.zip
ZNEO now (almost) builds in Windows native environment
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5402 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'misc')
-rw-r--r--misc/pascal/nuttx/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/misc/pascal/nuttx/Makefile b/misc/pascal/nuttx/Makefile
index aa041eb23..cfabb1424 100644
--- a/misc/pascal/nuttx/Makefile
+++ b/misc/pascal/nuttx/Makefile
@@ -33,10 +33,15 @@
#
############################################################################
-PCODEDIR := ${shell pwd | sed -e 's/ /\\ /g'}
-
-include $(TOPDIR)/Make.defs
include $(APPDIR)$(DELIM)Make.defs
+DELIM ?= $(strip /)
+
+ifeq ($(CONFIG_WINDOWS_NATIVE),y)
+ PCODEDIR := ${shell echo %CD%}
+else
+ PCODEDIR := ${shell pwd | sed -e 's/ /\\ /g'}
+endif
# Default tools