boards/Board.mk: Fix MSYS build problem w/ ZDS-II Toolchain

POSIX style paths must always be converted to Windows style paths when
using the ZDS-II Toolchain with Cygwin or MSYS
This commit is contained in:
Gregory Nutt 2020-05-07 20:43:11 -06:00 committed by Abdelatif Guettouche
parent 2d78ed7c7e
commit f801d049b0

View File

@ -76,12 +76,12 @@ ifneq ($(CONFIG_ARCH_FAMILY),)
endif
ifneq ($(ZDSVERSION),)
ifeq ($(WINTOOL),y)
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
USRINCLUDES = -usrinc:".;$(SCHEDSRCDIR);$(ARCHSRCDIR)$(DELIM)chip;$(ARCHSRCDIR)$(DELIM)common"
else
WSCHEDSRCDIR = ${shell cygpath -w $(SCHEDSRCDIR)}
WARCHSRCDIR = ${shell cygpath -w $(ARCHSRCDIR)}
USRINCLUDES = -usrinc:'.;$(WSCHEDSRCDIR);$(WARCHSRCDIR)\chip;$(WARCHSRCDIR)\common'
else
USRINCLUDES = -usrinc:".;$(SCHEDSRCDIR);$(ARCHSRCDIR)$(DELIM)chip;$(ARCHSRCDIR)$(DELIM)common"
endif
else
ifeq ($(WINTOOL),y)