mirror of
https://github.com/apache/nuttx.git
synced 2025-12-10 12:14:36 +08:00
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:
committed by
Abdelatif Guettouche
parent
2d78ed7c7e
commit
f801d049b0
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user