mirror of
https://github.com/apache/nuttx.git
synced 2026-10-19 12:48:48 +00: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:
parent
2d78ed7c7e
commit
f801d049b0
1 changed files with 3 additions and 3 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue