mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-24 22:13:52 +01:00
example/gnrc_border_router: use TERMDEPS
This commit is contained in:
parent
2739354bab
commit
92076cdf50
@ -76,13 +76,18 @@ QUIET ?= 1
|
||||
TAP ?= tap0
|
||||
IPV6_PREFIX ?= 2001:db8::/64
|
||||
|
||||
# We override the `make term` command to use ethos
|
||||
TERMPROG ?= sudo sh $(RIOTBASE)/dist/tools/ethos/start_network.sh
|
||||
TERMFLAGS ?= $(PORT) $(TAP) $(IPV6_PREFIX)
|
||||
|
||||
# We depend on the ethos host tools to run the border router, we build them
|
||||
# if necessary
|
||||
TERMDEPS += host-tools
|
||||
|
||||
include $(RIOTBASE)/Makefile.include
|
||||
|
||||
.PHONY: host-tools
|
||||
|
||||
term: host-tools
|
||||
$(Q)sudo sh $(RIOTBASE)/dist/tools/ethos/start_network.sh $(PORT) $(TAP) $(IPV6_PREFIX)
|
||||
|
||||
host-tools:
|
||||
$(Q)env -u CC -u CFLAGS make -C $(RIOTBASE)/dist/tools
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user