z8 configurations will now build in Windows native environment
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5399 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
aace222e94
commit
f653f711c9
50
configs/z16f2800100zcog/scripts/setenv.bat
Normal file
50
configs/z16f2800100zcog/scripts/setenv.bat
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
@echo off
|
||||||
|
|
||||||
|
rem configs/z16f2800100zcog/scripts/setenv.bat
|
||||||
|
rem
|
||||||
|
rem Copyright (C) 2012 Gregory Nutt. All rights reserved.
|
||||||
|
rem Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
|
rem
|
||||||
|
rem Redistribution and use in source and binary forms, with or without
|
||||||
|
rem modification, are permitted provided that the following conditions
|
||||||
|
rem are met:
|
||||||
|
rem
|
||||||
|
rem 1. Redistributions of source code must retain the above copyright
|
||||||
|
rem notice, this list of conditions and the following disclaimer.
|
||||||
|
rem 2. Redistributions in binary form must reproduce the above copyright
|
||||||
|
rem notice, this list of conditions and the following disclaimer in
|
||||||
|
rem the documentation and/or other materials provided with the
|
||||||
|
rem distribution.
|
||||||
|
rem 3. Neither the name NuttX nor the names of its contributors may be
|
||||||
|
rem used to endorse or promote products derived from this software
|
||||||
|
rem without specific prior written permission.
|
||||||
|
rem
|
||||||
|
rem THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||||
|
rem "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||||
|
rem LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||||
|
rem FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||||
|
rem COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||||
|
rem INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||||
|
rem BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
|
||||||
|
rem OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
||||||
|
rem AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||||
|
rem LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
||||||
|
rem ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||||
|
rem POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
|
rem This is the location where I installed in the MinGW compiler. With
|
||||||
|
rem this configuration, it is recommended that you do NOT install the
|
||||||
|
rem MSYS tools; they conflict with the GNUWin32 tools. See
|
||||||
|
rem http://www.mingw.org/ for further info.
|
||||||
|
|
||||||
|
set PATH=C:\MinGW\bin;%PATH%
|
||||||
|
|
||||||
|
rem This is the location where I installed the ZDS-II toolchain.
|
||||||
|
|
||||||
|
set PATH=C:\Program Files (x86)\ZiLOG\ZDSII_ZNEO_5.0.1\bin;%PATH%
|
||||||
|
|
||||||
|
rem This is the location where I installed the GNUWin32 tools. See
|
||||||
|
rem http://gnuwin32.sourceforge.net/.
|
||||||
|
|
||||||
|
set PATH=C:\gnuwin32\bin;%PATH%
|
||||||
|
echo %PATH%
|
@ -45,66 +45,66 @@ include $(TOPDIR)/tools/Config.mk
|
|||||||
#
|
#
|
||||||
# Your PC may be configured differently.
|
# Your PC may be configured differently.
|
||||||
|
|
||||||
ZDSVERSION := 5.0.0
|
ZDSVERSION = 5.0.0
|
||||||
|
|
||||||
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
||||||
ZDSINSTALLDIR := C:/PROGRA~2/ZiLOG/ZDSII_Z8Encore!_$(ZDSVERSION)
|
ZDSINSTALLDIR = C:/PROGRA~2/ZiLOG/ZDSII_Z8Encore!_$(ZDSVERSION)
|
||||||
INSTALLDIR = ${shell echo $(ZDSINSTALLDIR)| sed -e "s/\//\\/g"}
|
INSTALLDIR = ${shell echo $(ZDSINSTALLDIR)| sed -e "s/\//\\/g"}
|
||||||
ZDSBINDIR := $(INSTALLDIR)\bin
|
ZDSBINDIR = $(INSTALLDIR)\bin
|
||||||
ZDSSTDINCDIR := $(INSTALLDIR)\include\std
|
ZDSSTDINCDIR = $(INSTALLDIR)\include\std
|
||||||
ZDSZILOGINCDIR := $(INSTALLDIR)\include\zilog
|
ZDSZILOGINCDIR = $(INSTALLDIR)\include\zilog
|
||||||
ifeq ($(CONFIG_ARCH_CHIP_Z8F642X),y)
|
ifeq ($(CONFIG_ARCH_CHIP_Z8F642X),y)
|
||||||
ZDSDEVINCDIR := $(INSTALLDIR)\Z8Encore_F642X
|
ZDSDEVINCDIR = $(INSTALLDIR)\Z8Encore_F642X
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_ARCH_CHIP_Z8F640X),y)
|
ifeq ($(CONFIG_ARCH_CHIP_Z8F640X),y)
|
||||||
ZDSDEVINCDIR := $(INSTALLDIR)\Z8Encore_F640X
|
ZDSDEVINCDIR = $(INSTALLDIR)\Z8Encore_F640X
|
||||||
endif
|
endif
|
||||||
ZDSSTDLIBDIR := $(INSTALLDIR)\lib\std
|
ZDSSTDLIBDIR = $(INSTALLDIR)\lib\std
|
||||||
ZDSZILOGLIBDIR := $(INSTALLDIR)\lib\zilog
|
ZDSZILOGLIBDIR = $(INSTALLDIR)\lib\zilog
|
||||||
|
|
||||||
# CFLAGs
|
# CFLAGs
|
||||||
|
|
||||||
ARCHASMINCLUDES = -include:$(TOPDIR)\include;$(ZDSSTDINCDIR);$(ZDSZILOGINCDIR)
|
ARCHASMINCLUDES = -include:$(TOPDIR)\include;$(ZDSSTDINCDIR);$(ZDSZILOGINCDIR)
|
||||||
EARCHASMINCLUDES = -include:$(TOPDIR)\include;$(ZDSSTDINCDIR);$(ZDSZILOGINCDIR)
|
EARCHASMINCLUDES = -include:$(TOPDIR)\include;$(ZDSSTDINCDIR);$(ZDSZILOGINCDIR)
|
||||||
ARCHSTDINCLUDES = -stdinc:$(TOPDIR)\include;$(ZDSSTDINCDIR);$(ZDSZILOGINCDIR)
|
ARCHSTDINCLUDES = -stdinc:$(TOPDIR)\include;$(ZDSSTDINCDIR);$(ZDSZILOGINCDIR);$(ZDSDEVINCDIR)
|
||||||
ARCHUSRINCLUDES = -usrinc:.
|
ARCHUSRINCLUDES = -usrinc:.
|
||||||
else
|
else
|
||||||
WINTOOL := y
|
WINTOOL = y
|
||||||
ZDSINSTALLDIR := C:/PROGRA~2/ZiLOG/ZDSII_Z8Encore!_$(ZDSVERSION)
|
ZDSINSTALLDIR = C:/PROGRA~2/ZiLOG/ZDSII_Z8Encore!_$(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
|
||||||
ZDSZILOGINCDIR := $(INSTALLDIR)/include/zilog
|
ZDSZILOGINCDIR = $(INSTALLDIR)/include/zilog
|
||||||
ifeq ($(CONFIG_ARCH_CHIP_Z8F642X),y)
|
ifeq ($(CONFIG_ARCH_CHIP_Z8F642X),y)
|
||||||
ZDSDEVINCDIR := $(ZDSZILOGINCDIR)/Z8Encore_F642X
|
ZDSDEVINCDIR = $(ZDSZILOGINCDIR)/Z8Encore_F642X
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_ARCH_CHIP_Z8F640X),y)
|
ifeq ($(CONFIG_ARCH_CHIP_Z8F640X),y)
|
||||||
ZDSDEVINCDIR := $(ZDSZILOGINCDIR)/Z8Encore_F640X
|
ZDSDEVINCDIR = $(ZDSZILOGINCDIR)/Z8Encore_F640X
|
||||||
endif
|
endif
|
||||||
ZDSSTDLIBDIR := $(INSTALLDIR)/lib/std
|
ZDSSTDLIBDIR = $(INSTALLDIR)/lib/std
|
||||||
ZDSZILOGLIBDIR := $(INSTALLDIR)/lib/zilog
|
ZDSZILOGLIBDIR = $(INSTALLDIR)/lib/zilog
|
||||||
|
|
||||||
# These are the same directories but with the directory separator
|
# These are the same directories but with the directory separator
|
||||||
# character swapped as needed by the ZDS-II compiler
|
# character swapped as needed by the ZDS-II compiler
|
||||||
|
|
||||||
WTOPDIR := ${shell cygpath -w "$(TOPDIR)"}
|
WTOPDIR = ${shell cygpath -w "$(TOPDIR)"}
|
||||||
WZDSSTDINCDIR := ${shell cygpath -w "$(ZDSSTDINCDIR)"}
|
WZDSSTDINCDIR = ${shell cygpath -w "$(ZDSSTDINCDIR)"}
|
||||||
WZDSZILOGINCDIR := ${shell cygpath -w "$(ZDSZILOGINCDIR)"}
|
WZDSZILOGINCDIR = ${shell cygpath -w "$(ZDSZILOGINCDIR)"}
|
||||||
WZDSDEVINCDIR := ${shell cygpath -w "$(ZDSDEVINCDIR)"}
|
WZDSDEVINCDIR = ${shell cygpath -w "$(ZDSDEVINCDIR)"}
|
||||||
WZDSSTDLIBDIR := ${shell cygpath -w "$(ZDSSTDLIBDIR)"}
|
WZDSSTDLIBDIR = ${shell cygpath -w "$(ZDSSTDLIBDIR)"}
|
||||||
WZDSZILOGLIBDIR := ${shell cygpath -w "$(ZDSZILOGLIBDIR)"}
|
WZDSZILOGLIBDIR = ${shell cygpath -w "$(ZDSZILOGLIBDIR)"}
|
||||||
|
|
||||||
# Escaped versions
|
# Escaped versions
|
||||||
|
|
||||||
ETOPDIR := ${shell echo "$(WTOPDIR)" | sed -e "s/ /%20/g"}
|
ETOPDIR = ${shell echo "$(WTOPDIR)" | sed -e "s/ /%20/g"}
|
||||||
EZDSSTDINCDIR := ${shell echo "$(WZDSSTDINCDIR)" | sed -e "s/ /%20/g"}
|
EZDSSTDINCDIR = ${shell echo "$(WZDSSTDINCDIR)" | sed -e "s/ /%20/g"}
|
||||||
EZDSZILOGINCDIR := ${shell echo "$(WZDSZILOGINCDIR)" | sed -e "s/ /%20/g"}
|
EZDSZILOGINCDIR = ${shell echo "$(WZDSZILOGINCDIR)" | sed -e "s/ /%20/g"}
|
||||||
|
|
||||||
# CFLAGs
|
# CFLAGs
|
||||||
|
|
||||||
ARCHASMINCLUDES = -include:'$(WTOPDIR)\include;$(WZDSSTDINCDIR);$(WZDSZILOGINCDIR)'
|
ARCHASMINCLUDES = -include:'$(WTOPDIR)\include;$(WZDSSTDINCDIR);$(WZDSZILOGINCDIR)'
|
||||||
EARCHASMINCLUDES = -include:'$(ETOPDIR)\include;$(EZDSSTDINCDIR);$(EZDSZILOGINCDIR)'
|
EARCHASMINCLUDES = -include:'$(ETOPDIR)\include;$(EZDSSTDINCDIR);$(EZDSZILOGINCDIR)'
|
||||||
ARCHSTDINCLUDES = -stdinc:'$(WTOPDIR)\include;$(WZDSSTDINCDIR);$(WZDSZILOGINCDIR)'
|
ARCHSTDINCLUDES = -stdinc:'$(WTOPDIR)\include;$(WZDSSTDINCDIR);$(WZDSZILOGINCDIR);$(WZDSDEVINCDIR)'
|
||||||
ARCHUSRINCLUDES = -usrinc:'.'
|
ARCHUSRINCLUDES = -usrinc:'.'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@ -156,7 +156,6 @@ ARCHLIST = -keeplst -NOlist -NOlistinc -keepasm
|
|||||||
ARCHPICFLAGS =
|
ARCHPICFLAGS =
|
||||||
ARCHWARNINGS = -warn
|
ARCHWARNINGS = -warn
|
||||||
ARCHDEFINES = -define:$(ARCHFAMILYDEF) -define:$(ARCHCPUDEF) -define:$(ARCHSERIESDEF)
|
ARCHDEFINES = -define:$(ARCHFAMILYDEF) -define:$(ARCHCPUDEF) -define:$(ARCHSERIESDEF)
|
||||||
ARCHSTDINCLUDES = -stdinc:'$(WTOPDIR)\include;$(WZDSSTDINCDIR);$(WZDSZILOGINCDIR);$(WZDSDEVINCDIR)'
|
|
||||||
ARCHINCLUDES = $(ARCHSTDINCLUDES) $(ARCHUSRINCLUDES)
|
ARCHINCLUDES = $(ARCHSTDINCLUDES) $(ARCHUSRINCLUDES)
|
||||||
CFLAGS = $(ARCHWARNINGS) $(ARCHOPTIMIZATION) $(ARCHLIST) $(ARCHCPUFLAGS) $(ARCHINCLUDES) $(ARCHDEFINES) $(EXTRADEFINES)
|
CFLAGS = $(ARCHWARNINGS) $(ARCHOPTIMIZATION) $(ARCHLIST) $(ARCHCPUFLAGS) $(ARCHINCLUDES) $(ARCHDEFINES) $(EXTRADEFINES)
|
||||||
|
|
||||||
|
@ -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)}
|
||||||
|
@ -45,66 +45,66 @@ include $(TOPDIR)/tools/Config.mk
|
|||||||
#
|
#
|
||||||
# Your PC may be configured differently.
|
# Your PC may be configured differently.
|
||||||
|
|
||||||
ZDSVERSION := 5.0.0
|
ZDSVERSION = 5.0.0
|
||||||
|
|
||||||
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
||||||
ZDSINSTALLDIR := C:/PROGRA~2/ZiLOG/ZDSII_Z8Encore!_$(ZDSVERSION)
|
ZDSINSTALLDIR = C:/PROGRA~2/ZiLOG/ZDSII_Z8Encore!_$(ZDSVERSION)
|
||||||
INSTALLDIR = ${shell echo $(ZDSINSTALLDIR)| sed -e "s/\//\\/g"}
|
INSTALLDIR = ${shell echo $(ZDSINSTALLDIR)| sed -e "s/\//\\/g"}
|
||||||
ZDSBINDIR := $(INSTALLDIR)\bin
|
ZDSBINDIR = $(INSTALLDIR)\bin
|
||||||
ZDSSTDINCDIR := $(INSTALLDIR)\include\std
|
ZDSSTDINCDIR = $(INSTALLDIR)\include\std
|
||||||
ZDSZILOGINCDIR := $(INSTALLDIR)\include\zilog
|
ZDSZILOGINCDIR = $(INSTALLDIR)\include\zilog
|
||||||
ifeq ($(CONFIG_ARCH_CHIP_Z8F642X),y)
|
ifeq ($(CONFIG_ARCH_CHIP_Z8F642X),y)
|
||||||
ZDSDEVINCDIR := $(INSTALLDIR)\Z8Encore_F642X
|
ZDSDEVINCDIR = $(INSTALLDIR)\Z8Encore_F642X
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_ARCH_CHIP_Z8F640X),y)
|
ifeq ($(CONFIG_ARCH_CHIP_Z8F640X),y)
|
||||||
ZDSDEVINCDIR := $(INSTALLDIR)\Z8Encore_F640X
|
ZDSDEVINCDIR = $(INSTALLDIR)\Z8Encore_F640X
|
||||||
endif
|
endif
|
||||||
ZDSSTDLIBDIR := $(INSTALLDIR)\lib\std
|
ZDSSTDLIBDIR = $(INSTALLDIR)\lib\std
|
||||||
ZDSZILOGLIBDIR := $(INSTALLDIR)\lib\zilog
|
ZDSZILOGLIBDIR = $(INSTALLDIR)\lib\zilog
|
||||||
|
|
||||||
# CFLAGs
|
# CFLAGs
|
||||||
|
|
||||||
ARCHASMINCLUDES = -include:$(TOPDIR)\include;$(ZDSSTDINCDIR);$(ZDSZILOGINCDIR)
|
ARCHASMINCLUDES = -include:$(TOPDIR)\include;$(ZDSSTDINCDIR);$(ZDSZILOGINCDIR)
|
||||||
EARCHASMINCLUDES = -include:$(TOPDIR)\include;$(ZDSSTDINCDIR);$(ZDSZILOGINCDIR)
|
EARCHASMINCLUDES = -include:$(TOPDIR)\include;$(ZDSSTDINCDIR);$(ZDSZILOGINCDIR)
|
||||||
ARCHSTDINCLUDES = -stdinc:$(TOPDIR)\include;$(ZDSSTDINCDIR);$(ZDSZILOGINCDIR)
|
ARCHSTDINCLUDES = -stdinc:$(TOPDIR)\include;$(ZDSSTDINCDIR);$(ZDSZILOGINCDIR);$(ZDSDEVINCDIR)
|
||||||
ARCHUSRINCLUDES = -usrinc:.
|
ARCHUSRINCLUDES = -usrinc:.
|
||||||
else
|
else
|
||||||
WINTOOL := y
|
WINTOOL = y
|
||||||
ZDSINSTALLDIR := C:/PROGRA~2/ZiLOG/ZDSII_Z8Encore!_$(ZDSVERSION)
|
ZDSINSTALLDIR = C:/PROGRA~2/ZiLOG/ZDSII_Z8Encore!_$(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
|
||||||
ZDSZILOGINCDIR := $(INSTALLDIR)/include/zilog
|
ZDSZILOGINCDIR = $(INSTALLDIR)/include/zilog
|
||||||
ifeq ($(CONFIG_ARCH_CHIP_Z8F642X),y)
|
ifeq ($(CONFIG_ARCH_CHIP_Z8F642X),y)
|
||||||
ZDSDEVINCDIR := $(ZDSZILOGINCDIR)/Z8Encore_F642X
|
ZDSDEVINCDIR = $(ZDSZILOGINCDIR)/Z8Encore_F642X
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_ARCH_CHIP_Z8F640X),y)
|
ifeq ($(CONFIG_ARCH_CHIP_Z8F640X),y)
|
||||||
ZDSDEVINCDIR := $(ZDSZILOGINCDIR)/Z8Encore_F640X
|
ZDSDEVINCDIR = $(ZDSZILOGINCDIR)/Z8Encore_F640X
|
||||||
endif
|
endif
|
||||||
ZDSSTDLIBDIR := $(INSTALLDIR)/lib/std
|
ZDSSTDLIBDIR = $(INSTALLDIR)/lib/std
|
||||||
ZDSZILOGLIBDIR := $(INSTALLDIR)/lib/zilog
|
ZDSZILOGLIBDIR = $(INSTALLDIR)/lib/zilog
|
||||||
|
|
||||||
# These are the same directories but with the directory separator
|
# These are the same directories but with the directory separator
|
||||||
# character swapped as needed by the ZDS-II compiler
|
# character swapped as needed by the ZDS-II compiler
|
||||||
|
|
||||||
WTOPDIR := ${shell cygpath -w "$(TOPDIR)"}
|
WTOPDIR = ${shell cygpath -w "$(TOPDIR)"}
|
||||||
WZDSSTDINCDIR := ${shell cygpath -w "$(ZDSSTDINCDIR)"}
|
WZDSSTDINCDIR = ${shell cygpath -w "$(ZDSSTDINCDIR)"}
|
||||||
WZDSZILOGINCDIR := ${shell cygpath -w "$(ZDSZILOGINCDIR)"}
|
WZDSZILOGINCDIR = ${shell cygpath -w "$(ZDSZILOGINCDIR)"}
|
||||||
WZDSDEVINCDIR := ${shell cygpath -w "$(ZDSDEVINCDIR)"}
|
WZDSDEVINCDIR = ${shell cygpath -w "$(ZDSDEVINCDIR)"}
|
||||||
WZDSSTDLIBDIR := ${shell cygpath -w "$(ZDSSTDLIBDIR)"}
|
WZDSSTDLIBDIR = ${shell cygpath -w "$(ZDSSTDLIBDIR)"}
|
||||||
WZDSZILOGLIBDIR := ${shell cygpath -w "$(ZDSZILOGLIBDIR)"}
|
WZDSZILOGLIBDIR = ${shell cygpath -w "$(ZDSZILOGLIBDIR)"}
|
||||||
|
|
||||||
# Escaped versions
|
# Escaped versions
|
||||||
|
|
||||||
ETOPDIR := ${shell echo "$(WTOPDIR)" | sed -e "s/ /%20/g"}
|
ETOPDIR = ${shell echo "$(WTOPDIR)" | sed -e "s/ /%20/g"}
|
||||||
EZDSSTDINCDIR := ${shell echo "$(WZDSSTDINCDIR)" | sed -e "s/ /%20/g"}
|
EZDSSTDINCDIR = ${shell echo "$(WZDSSTDINCDIR)" | sed -e "s/ /%20/g"}
|
||||||
EZDSZILOGINCDIR := ${shell echo "$(WZDSZILOGINCDIR)" | sed -e "s/ /%20/g"}
|
EZDSZILOGINCDIR = ${shell echo "$(WZDSZILOGINCDIR)" | sed -e "s/ /%20/g"}
|
||||||
|
|
||||||
# CFLAGs
|
# CFLAGs
|
||||||
|
|
||||||
ARCHASMINCLUDES = -include:'$(WTOPDIR)\include;$(WZDSSTDINCDIR);$(WZDSZILOGINCDIR)'
|
ARCHASMINCLUDES = -include:'$(WTOPDIR)\include;$(WZDSSTDINCDIR);$(WZDSZILOGINCDIR)'
|
||||||
EARCHASMINCLUDES = -include:'$(ETOPDIR)\include;$(EZDSSTDINCDIR);$(EZDSZILOGINCDIR)'
|
EARCHASMINCLUDES = -include:'$(ETOPDIR)\include;$(EZDSSTDINCDIR);$(EZDSZILOGINCDIR)'
|
||||||
ARCHSTDINCLUDES = -stdinc:'$(WTOPDIR)\include;$(WZDSSTDINCDIR);$(WZDSZILOGINCDIR)'
|
ARCHSTDINCLUDES = -stdinc:'$(WTOPDIR)\include;$(WZDSSTDINCDIR);$(WZDSZILOGINCDIR);$(WZDSDEVINCDIR)'
|
||||||
ARCHUSRINCLUDES = -usrinc:'.'
|
ARCHUSRINCLUDES = -usrinc:'.'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@ -156,7 +156,6 @@ ARCHLIST = -keeplst -NOlist -NOlistinc -keepasm
|
|||||||
ARCHPICFLAGS =
|
ARCHPICFLAGS =
|
||||||
ARCHWARNINGS = -warn
|
ARCHWARNINGS = -warn
|
||||||
ARCHDEFINES = -define:$(ARCHFAMILYDEF) -define:$(ARCHCPUDEF) -define:$(ARCHSERIESDEF)
|
ARCHDEFINES = -define:$(ARCHFAMILYDEF) -define:$(ARCHCPUDEF) -define:$(ARCHSERIESDEF)
|
||||||
ARCHSTDINCLUDES = -stdinc:'$(WTOPDIR)\include;$(WZDSSTDINCDIR);$(WZDSZILOGINCDIR);$(WZDSDEVINCDIR)'
|
|
||||||
ARCHINCLUDES = $(ARCHSTDINCLUDES) $(ARCHUSRINCLUDES)
|
ARCHINCLUDES = $(ARCHSTDINCLUDES) $(ARCHUSRINCLUDES)
|
||||||
CFLAGS = $(ARCHWARNINGS) $(ARCHOPTIMIZATION) $(ARCHLIST) $(ARCHCPUFLAGS) $(ARCHINCLUDES) $(ARCHDEFINES) $(EXTRADEFINES)
|
CFLAGS = $(ARCHWARNINGS) $(ARCHOPTIMIZATION) $(ARCHLIST) $(ARCHCPUFLAGS) $(ARCHINCLUDES) $(ARCHDEFINES) $(EXTRADEFINES)
|
||||||
|
|
||||||
|
@ -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