Skip to content
Snippets Groups Projects
Commit 92076cdf authored by Hauke Petersen's avatar Hauke Petersen
Browse files

example/gnrc_border_router: use TERMDEPS

parent 2739354b
No related branches found
No related tags found
No related merge requests found
...@@ -76,13 +76,18 @@ QUIET ?= 1 ...@@ -76,13 +76,18 @@ QUIET ?= 1
TAP ?= tap0 TAP ?= tap0
IPV6_PREFIX ?= 2001:db8::/64 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 include $(RIOTBASE)/Makefile.include
.PHONY: host-tools .PHONY: host-tools
term: host-tools
$(Q)sudo sh $(RIOTBASE)/dist/tools/ethos/start_network.sh $(PORT) $(TAP) $(IPV6_PREFIX)
host-tools: host-tools:
$(Q)env -u CC -u CFLAGS make -C $(RIOTBASE)/dist/tools $(Q)env -u CC -u CFLAGS make -C $(RIOTBASE)/dist/tools
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment