2020-02-26 13:05:58 +01:00
|
|
|
INCLUDES += -I$(CURDIR)
|
|
|
|
|
2020-03-05 18:29:56 +01:00
|
|
|
CFLAGS += -DSLIPDEV_PARAM_BAUDRATE=$(SLIP_BAUDRATE)
|
2020-02-26 13:05:58 +01:00
|
|
|
|
|
|
|
STATIC_ROUTES ?= 1
|
2020-03-05 18:29:56 +01:00
|
|
|
|
2021-10-15 17:08:08 +02:00
|
|
|
ifeq (dhcpv6,$(PREFIX_CONF))
|
2020-03-10 16:17:06 +01:00
|
|
|
FLAGS_EXTRAS=-d
|
2021-10-15 17:08:08 +02:00
|
|
|
else ifeq (auto_subnets,$(PREFIX_CONF))
|
|
|
|
FLAGS_EXTRAS=-r
|
|
|
|
USEMODULE += slipdev_l2addr
|
2020-03-07 12:34:51 +01:00
|
|
|
endif
|
|
|
|
|
2020-03-05 18:29:56 +01:00
|
|
|
# Configure terminal parameters
|
2020-04-16 23:49:53 +02:00
|
|
|
TERMDEPS += host-tools
|
2020-03-05 18:29:56 +01:00
|
|
|
TERMPROG ?= sudo sh $(RIOTTOOLS)/sliptty/start_network.sh
|
2020-03-10 16:17:06 +01:00
|
|
|
TERMFLAGS ?= $(FLAGS_EXTRAS) $(IPV6_PREFIX) $(PORT) $(SLIP_BAUDRATE)
|