A few more fixes for ez80 Windows Native build (still not enough)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5381 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
930842ed82
commit
a90f6ace35
@ -39,30 +39,25 @@ include ${TOPDIR}/tools/Config.mk
|
|||||||
# These are the directories where the ZDS-II toolchain is installed
|
# These are the directories where the ZDS-II toolchain is installed
|
||||||
|
|
||||||
ZDSVERSION := 5.1.1
|
ZDSVERSION := 5.1.1
|
||||||
ZDSINSTALLDIR := C:/Program Files (x86)/ZiLOG/ZDSII_eZ80Acclaim!_$(ZDSVERSION)
|
|
||||||
|
|
||||||
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
||||||
ZDSBINDIR := $(ZDSINSTALLDIR)\bin
|
ZDSINSTALLDIR := C:/PROGRA~2/ZiLOG/ZDSII_eZ80Acclaim!_$(ZDSVERSION)
|
||||||
ZDSSTDINCDIR := $(ZDSINSTALLDIR)\include\std
|
INSTALLDIR = ${shell echo $(ZDSINSTALLDIR)| sed -e "s/\//\\/g"}
|
||||||
ZDSZILOGINCDIR := $(ZDSINSTALLDIR)\include\zilog
|
ZDSBINDIR := $(INSTALLDIR)\bin
|
||||||
ZDSSTDLIBDIR := $(ZDSINSTALLDIR)\lib\std
|
ZDSSTDINCDIR := $(INSTALLDIR)\include\std
|
||||||
ZDSZILOGLIBDIR := $(ZDSINSTALLDIR)\lib\zilog
|
ZDSZILOGINCDIR := $(INSTALLDIR)\include\zilog
|
||||||
|
ZDSSTDLIBDIR := $(INSTALLDIR)\lib\std
|
||||||
# Escaped versions
|
ZDSZILOGLIBDIR := $(INSTALLDIR)\lib\zilog
|
||||||
|
|
||||||
# ETOPDIR := ${shell echo "$(TOPDIR)" | sed -e "s/ /%%%%20/g"}
|
|
||||||
# EZDSSTDINCDIR := ${shell echo "$(ZDSSTDINCDIR)" | sed -e "s/ /%%%%20/g"}
|
|
||||||
# EZDSZILOGINCDIR := ${shell echo "$(ZDSZILOGINCDIR)" | sed -e "s/ /%%%%20/g"}
|
|
||||||
|
|
||||||
# CFLAGs
|
# CFLAGs
|
||||||
|
|
||||||
ARCHASMINCLUDES = -include:'$(TOPDIR)\include;$(ZDSSTDINCDIR);$(ZDSZILOGINCDIR)'
|
ARCHASMINCLUDES = -include:'$(TOPDIR)\include;$(ZDSSTDINCDIR);$(ZDSZILOGINCDIR)'
|
||||||
# EARCHASMINCLUDES = -include:'$(ETOPDIR)\include;$(EZDSSTDINCDIR);$(EZDSZILOGINCDIR)'
|
|
||||||
EARCHASMINCLUDES = -include:'$(TOPDIR)\include;$(ZDSSTDINCDIR);$(ZDSZILOGINCDIR)'
|
EARCHASMINCLUDES = -include:'$(TOPDIR)\include;$(ZDSSTDINCDIR);$(ZDSZILOGINCDIR)'
|
||||||
ARCHSTDINCLUDES = -stdinc:'$(TOPDIR)\include;$(ZDSSTDINCDIR);$(ZDSZILOGINCDIR)'
|
ARCHSTDINCLUDES = -stdinc:"$(TOPDIR)\include;$(ZDSSTDINCDIR);$(ZDSZILOGINCDIR)"
|
||||||
ARCHUSRINCLUDES = -usrinc:'.'
|
ARCHUSRINCLUDES = -usrinc:.
|
||||||
else
|
else
|
||||||
WINTOOL := y
|
WINTOOL := y
|
||||||
|
ZDSINSTALLDIR := C:/Program Files (x86)/ZiLOG/ZDSII_eZ80Acclaim!_$(ZDSVERSION)
|
||||||
INSTALLDIR = ${shell cygpath -u "$(ZDSINSTALLDIR)"}
|
INSTALLDIR = ${shell cygpath -u "$(ZDSINSTALLDIR)"}
|
||||||
ZDSBINDIR := $(INSTALLDIR)/bin
|
ZDSBINDIR := $(INSTALLDIR)/bin
|
||||||
ZDSSTDINCDIR := $(INSTALLDIR)/include/std
|
ZDSSTDINCDIR := $(INSTALLDIR)/include/std
|
||||||
@ -96,9 +91,9 @@ endif
|
|||||||
# Assembler definitions
|
# Assembler definitions
|
||||||
|
|
||||||
ifeq ($(CONFIG_ARCH_CHIP_EZ80F91),y)
|
ifeq ($(CONFIG_ARCH_CHIP_EZ80F91),y)
|
||||||
ARCHCPU = eZ80F91
|
ARCHCPU = eZ80F91
|
||||||
ARCHCPUDEF = _EZ80F91
|
ARCHCPUDEF = _EZ80F91
|
||||||
ARCHFAMILY = _EZ80ACCLAIM!
|
ARCHFAMILY = _EZ80ACCLAIM!
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
@ -111,8 +106,7 @@ ARCHASMCPUFLAGS = -cpu:$(ARCHCPU) -NOigcase
|
|||||||
ARCHASMLIST = -list -NOlistmac -name -pagelen:56 -pagewidth:80 -quiet
|
ARCHASMLIST = -list -NOlistmac -name -pagelen:56 -pagewidth:80 -quiet
|
||||||
ARCHASMWARNINGS = -warn
|
ARCHASMWARNINGS = -warn
|
||||||
ARCHASMDEFINES = -define:$(ARCHCPUDEF)=1 -define:$(ARCHFAMILYDEF)=1 -define:__ASSEMBLY__
|
ARCHASMDEFINES = -define:$(ARCHCPUDEF)=1 -define:$(ARCHFAMILYDEF)=1 -define:__ASSEMBLY__
|
||||||
AFLAGS = $(ARCHASMCPUFLAGS) $(ARCHASMINCLUDES) $(ARCHASMLIST) \
|
AFLAGS = $(ARCHASMCPUFLAGS) $(ARCHASMINCLUDES) $(ARCHASMLIST) $(ARCHASMWARNINGS) $(ARCHASMOPTIMIZATION)
|
||||||
$(ARCHASMWARNINGS) $(ARCHASMOPTIMIZATION)
|
|
||||||
|
|
||||||
# Compiler definitions
|
# Compiler definitions
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ SCHEDSRCDIR = $(TOPDIR)$(DELIM)sched
|
|||||||
ARCHSRCDIR = $(TOPDIR)$(DELIM)arch$(DELIM)$(CONFIG_ARCH)$(DELIM)src
|
ARCHSRCDIR = $(TOPDIR)$(DELIM)arch$(DELIM)$(CONFIG_ARCH)$(DELIM)src
|
||||||
|
|
||||||
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
||||||
USRINCLUDES = -usrinc:'.;$(SCHEDSRCDIR);$(ARCHSRCDIR);$(ARCHSRCDIR)\common'
|
USRINCLUDES = -usrinc:".;$(SCHEDSRCDIR);$(ARCHSRCDIR);$(ARCHSRCDIR)\common"
|
||||||
else
|
else
|
||||||
WSCHEDSRCDIR = ${shell cygpath -w $(SCHEDSRCDIR)}
|
WSCHEDSRCDIR = ${shell cygpath -w $(SCHEDSRCDIR)}
|
||||||
WARCHSRCDIR = ${shell cygpath -w $(ARCHSRCDIR)}
|
WARCHSRCDIR = ${shell cygpath -w $(ARCHSRCDIR)}
|
||||||
|
Loading…
Reference in New Issue
Block a user