examples/gnrc_border_router: use RIOTTOOLS variable

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

View File

@ -91,10 +91,10 @@ TERMDEPS += uhcpd-daemon
.PHONY: uhcpd-daemon
uhcpd-daemon: host-tools
$(RIOTBASE)/dist/tools/uhcpd/bin/uhcpd $(TAP) $(IPV6_PREFIX) &
$(RIOTTOOLS)/uhcpd/bin/uhcpd $(TAP) $(IPV6_PREFIX) &
else
# We override the `make term` command to use ethos
TERMPROG ?= sudo sh $(RIOTBASE)/dist/tools/ethos/start_network.sh
TERMPROG ?= sudo sh $(RIOTTOOLS)/ethos/start_network.sh
TERMFLAGS ?= $(PORT) $(TAP) $(IPV6_PREFIX)
# We depend on the ethos host tools to run the border router, we build them
@ -107,7 +107,7 @@ include $(RIOTBASE)/Makefile.include
.PHONY: host-tools
host-tools:
$(Q)env -u CC -u CFLAGS make -C $(RIOTBASE)/dist/tools
$(Q)env -u CC -u CFLAGS make -C $(RIOTTOOLS)
# Set a custom channel if needed
ifneq (,$(filter cc110x,$(USEMODULE))) # radio is cc110x sub-GHz