mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-07 16:38:30 -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))))
|
FIND_TOOL = $(firstword $(wildcard $(addsuffix /$(1),$(TOOLPATH))))
|
||||||
endif
|
endif
|
||||||
ifeq ($(findstring CYGWIN, $(SYSTYPE)),CYGWIN)
|
ifeq ($(findstring CYGWIN, $(SYSTYPE)),CYGWIN)
|
||||||
TOOLPATH := $(ARDUINO)/hardware/tools/avr/bin
|
TOOLPATH := $(subst :, ,$(PATH))
|
||||||
FIND_TOOL = $(firstword $(wildcard $(addsuffix /$(1).exe,$(TOOLPATH))))
|
FIND_TOOL = $(firstword $(wildcard $(addsuffix /$(1).exe,$(TOOLPATH))))
|
||||||
endif
|
endif
|
||||||
ifeq ($(findstring MINGW, $(SYSTYPE)),MINGW)
|
ifeq ($(findstring MINGW, $(SYSTYPE)),MINGW)
|
||||||
# expect that tools are on the path
|
# expect that tools are on the path
|
||||||
|
Loading…
Reference in New Issue
Block a user