From cabaa75a43c1674837941ee59abbb94ab60ace25 Mon Sep 17 00:00:00 2001
From: patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>
Date: Wed, 13 Feb 2008 14:19:16 +0000
Subject: [PATCH] ez8 now builds

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@675 42af7a65-404d-4744-a932-0658087f49c3
---
 TODO                                | 17 +++++++++++++++++
 configs/z8encore000zco/src/Makefile |  2 +-
 2 files changed, 18 insertions(+), 1 deletion(-)

diff --git a/TODO b/TODO
index d0e0deed42..788bab57b0 100644
--- a/TODO
+++ b/TODO
@@ -376,6 +376,23 @@ o z80/z8 (arch/z80)
   Description: The ZDS-II compiler (version 4.10.1) fails with an internal error
                while compiler mm/mm_initialize.  This has been reported as
                incident 81509.
+
+               I have found the following workaround that I use to build for the
+               time being:
+
+               --- mm/mm_initialize.c.SAVE	2008-02-13 08:06:46.833857700 -0600
+               +++ mm/mm_initialize.c	2008-02-13 08:07:26.367608900 -0600
+               @@ -94,8 +94,11 @@
+               {
+                  int i;
+ 
+               +#if 0 /* DO NOT CHECK IN */
+                  CHECK_ALLOCNODE_SIZE;
+                  CHECK_FREENODE_SIZE;
+               +#endif
+ 
+               /* Set up global variables */
+ 
   Status:      Open
   Priority:    High
 
diff --git a/configs/z8encore000zco/src/Makefile b/configs/z8encore000zco/src/Makefile
index c20d8d6da4..a8b17432e5 100644
--- a/configs/z8encore000zco/src/Makefile
+++ b/configs/z8encore000zco/src/Makefile
@@ -53,7 +53,7 @@ OBJS		= $(AOBJS) $(COBJS)
 all: libboard$(LIBEXT)
 
 $(ASRCS) $(HEAD_ASRC): %$(ASMEXT): %.S
-	@$(CPP) $(CPPFLAGS) $< -o $@.tmp
+	@$(CPP) $(CPPFLAGS) `cygpath -w $<` -o $@.tmp
 	@cat $@.tmp | sed -e "s/^#/;/g" > $@
 	@rm $@.tmp
 
-- 
GitLab