examples/gnrc_border_router: use RIOTTOOLS variable
Follow up to #9067 and part of #8821
This commit is contained in:
parent
1b76ce9e92
commit
45e6d60373
@ -91,10 +91,10 @@ TERMDEPS += uhcpd-daemon
|
|||||||
.PHONY: uhcpd-daemon
|
.PHONY: uhcpd-daemon
|
||||||
|
|
||||||
uhcpd-daemon: host-tools
|
uhcpd-daemon: host-tools
|
||||||
$(RIOTBASE)/dist/tools/uhcpd/bin/uhcpd $(TAP) $(IPV6_PREFIX) &
|
$(RIOTTOOLS)/uhcpd/bin/uhcpd $(TAP) $(IPV6_PREFIX) &
|
||||||
else
|
else
|
||||||
# We override the `make term` command to use ethos
|
# 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)
|
TERMFLAGS ?= $(PORT) $(TAP) $(IPV6_PREFIX)
|
||||||
|
|
||||||
# We depend on the ethos host tools to run the border router, we build them
|
# 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
|
.PHONY: host-tools
|
||||||
|
|
||||||
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
|
# Set a custom channel if needed
|
||||||
ifneq (,$(filter cc110x,$(USEMODULE))) # radio is cc110x sub-GHz
|
ifneq (,$(filter cc110x,$(USEMODULE))) # radio is cc110x sub-GHz
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user