mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-06 07:58:28 -04:00
build: allow ccache to be found on windows cygwin
This commit is contained in:
parent
ef72d5bff2
commit
d48bd8708b
@ -18,8 +18,8 @@ ifeq ($(SYSTYPE),Linux)
|
||||
FIND_TOOL = $(firstword $(wildcard $(addsuffix /$(1),$(TOOLPATH))))
|
||||
endif
|
||||
ifeq ($(findstring CYGWIN, $(SYSTYPE)),CYGWIN)
|
||||
TOOLPATH := $(ARDUINO)/hardware/tools/avr/bin
|
||||
FIND_TOOL = $(firstword $(wildcard $(addsuffix /$(1).exe,$(TOOLPATH))))
|
||||
TOOLPATH := $(subst :, ,$(PATH))
|
||||
FIND_TOOL = $(firstword $(wildcard $(addsuffix /$(1).exe,$(TOOLPATH))))
|
||||
endif
|
||||
ifeq ($(findstring MINGW, $(SYSTYPE)),MINGW)
|
||||
# expect that tools are on the path
|
||||
|
Loading…
Reference in New Issue
Block a user