sys/arduino: use RIOTTOOLS variable

Follow up to #9067 and part of #8821
This commit is contained in:
Gaëtan Harter 2018-03-22 17:22:29 +01:00
parent 00a974d950
commit 14ac80e15a
No known key found for this signature in database
GPG Key ID: 76DF6BCF1B1F883B

View File

@ -3,7 +3,7 @@ SKETCHES = $(wildcard $(APPDIR)/*.sketch)
SRCDIR = $(RIOTBASE)/sys/arduino
# run the Arduino pre-build script
$(shell $(RIOTBASE)/dist/tools/arduino/pre_build.sh $(SRCDIR) $(APPDIR) $(SKETCHES))
$(shell $(RIOTTOOLS)/arduino/pre_build.sh $(SRCDIR) $(APPDIR) $(SKETCHES))
# include the Arduino headers
INCLUDES += -I$(RIOTBASE)/sys/arduino/include