2020-02-26 13:05:58 +01:00
|
|
|
CFLAGS += -DETHOS_BAUDRATE=$(ETHOS_BAUDRATE)
|
|
|
|
|
2021-10-15 16:30:54 +02:00
|
|
|
ifeq (dhcpv6,$(PREFIX_CONF))
|
2020-03-10 16:17:06 +01:00
|
|
|
FLAGS_EXTRAS=--use-dhcpv6
|
2021-10-15 16:30:54 +02:00
|
|
|
else ifeq (auto_subnets,$(PREFIX_CONF))
|
|
|
|
FLAGS_EXTRAS=--use-radvd
|
2020-02-26 13:05:58 +01:00
|
|
|
endif
|
|
|
|
|
2022-11-08 14:57:51 +01:00
|
|
|
ifeq (1, $(REUSE_TAP))
|
|
|
|
# Use ethos directly
|
|
|
|
TERMPROG ?= $(RIOTTOOLS)/ethos/ethos
|
|
|
|
TERMFLAGS ?= $(TAP) $(PORT) $(ETHOS_BAUDRATE)
|
|
|
|
else
|
|
|
|
STATIC_ROUTES ?= 1
|
|
|
|
|
|
|
|
# Set up network, ethos started by start_network.sh
|
|
|
|
TERMPROG ?= sudo sh $(RIOTTOOLS)/ethos/start_network.sh
|
|
|
|
TERMFLAGS ?= $(FLAGS_EXTRAS) $(PORT) $(TAP) $(IPV6_PREFIX) $(ETHOS_BAUDRATE)
|
|
|
|
endif
|
|
|
|
|
2020-02-26 13:05:58 +01:00
|
|
|
TERMDEPS += host-tools
|