summaryrefslogtreecommitdiff
path: root/nuttx/configs/ez80f910200kitg/ostest
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-22 21:21:48 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-22 21:21:48 +0000
commit5d8459bbc994e69d80127776d82faa185ae42f9c (patch)
treeb1cedf03182e51f612878a90c78bb0d3a65aa1d6 /nuttx/configs/ez80f910200kitg/ostest
parent6bb69076e50b9dec9f3735fa8f9e168e99f6bba7 (diff)
downloadpx4-nuttx-5d8459bbc994e69d80127776d82faa185ae42f9c.tar.gz
px4-nuttx-5d8459bbc994e69d80127776d82faa185ae42f9c.tar.bz2
px4-nuttx-5d8459bbc994e69d80127776d82faa185ae42f9c.zip
A few more Windows native build fixes for eZ80
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5383 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/ez80f910200kitg/ostest')
-rw-r--r--nuttx/configs/ez80f910200kitg/ostest/Make.defs19
1 files changed, 10 insertions, 9 deletions
diff --git a/nuttx/configs/ez80f910200kitg/ostest/Make.defs b/nuttx/configs/ez80f910200kitg/ostest/Make.defs
index 141a45e4c..9f787ef1b 100644
--- a/nuttx/configs/ez80f910200kitg/ostest/Make.defs
+++ b/nuttx/configs/ez80f910200kitg/ostest/Make.defs
@@ -51,9 +51,9 @@ ifeq ($(CONFIG_WINDOWS_NATIVE),y)
# CFLAGs
- ARCHASMINCLUDES = -include:'$(TOPDIR)\include;$(ZDSSTDINCDIR);$(ZDSZILOGINCDIR)'
- EARCHASMINCLUDES = -include:'$(TOPDIR)\include;$(ZDSSTDINCDIR);$(ZDSZILOGINCDIR)'
- ARCHSTDINCLUDES = -stdinc:"$(TOPDIR)\include;$(ZDSSTDINCDIR);$(ZDSZILOGINCDIR)"
+ ARCHASMINCLUDES = -include:$(TOPDIR)\include;$(ZDSSTDINCDIR);$(ZDSZILOGINCDIR)
+ EARCHASMINCLUDES = -include:$(TOPDIR)\include;$(ZDSSTDINCDIR);$(ZDSZILOGINCDIR)
+ ARCHSTDINCLUDES = -stdinc:$(TOPDIR)\include;$(ZDSSTDINCDIR);$(ZDSZILOGINCDIR)
ARCHUSRINCLUDES = -usrinc:.
else
WINTOOL := y
@@ -169,17 +169,18 @@ HEXEXT = .hex
# object files into an archive
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
+
define PREPROCESS
@echo CPP: $1->$2
$(Q) "$(CPP)" $(CPPFLAGS) $1 -o $2
endef
define COMPILE
- $(Q) "$(CC)" $(CFLAGS) $1
+ $(Q) "$(CC)" $(CFLAGS) ${shell echo $1 | sed -e "s/\//\\/g"}
endef
define ASSEMBLE
- $(Q) "$(AS)" $(AFLAGS) $1
+ $(Q) "$(AS)" $(AFLAGS) ${shell echo $1 | sed -e "s/\//\\/g"}
endef
define ARCHIVE
@@ -195,20 +196,20 @@ define CLEAN
$(Q) if exist *.lod (del /f /q *.lod)
$(Q) if exist *.lst (del /f /q *.lst)
endef
+
else
+
define PREPROCESS
@echo "CPP: $1->$2"
$(Q) "$(CPP)" $(CPPFLAGS) $1 -o $2
endef
define COMPILE
- @#echo "CC: $1"
- $(Q) (wfile=`cygpath -w "$1"`; "$(CC)" $(CFLAGS) $$wfile)
+ $(Q) "$(CC)" $(CFLAGS) ${shell echo $1 | sed -e "s/\//\\/g"}
endef
define ASSEMBLE
- @#echo "AS: $1"
- $(Q) (wfile=`cygpath -w "$1"`; "$(AS)" $(AFLAGS) $$wfile)
+ $(Q) "$(AS)" $(AFLAGS) ${shell echo $1 | sed -e "s/\//\\/g"}
endef
define ARCHIVE