build: fixed TOOLPATH on MacOS

thanks to oriondream for this fix

fixes issue #1151
This commit is contained in:
Andrew Tridgell 2014-06-17 20:46:12 +10:00
parent e2fe3d2de7
commit cf3b487e63

View File

@ -7,7 +7,7 @@
#
ifeq ($(SYSTYPE),Darwin)
# use the tools that come with Arduino
TOOLPATH := $(ARDUINOS)/hardware/tools/avr/bin
TOOLPATH := $(ARDUINO)/hardware/tools/avr/bin
# use BWK awk
AWK = awk
FIND_TOOL = $(firstword $(wildcard $(addsuffix /$(1),$(TOOLPATH))))