1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/examples/gnrc_border_router/Makefile.slip.conf
2022-04-22 22:22:28 +02:00

18 lines
422 B
Makefile

INCLUDES += -I$(CURDIR)
CFLAGS += -DSLIPDEV_PARAM_BAUDRATE=$(SLIP_BAUDRATE)
STATIC_ROUTES ?= 1
ifeq (dhcpv6,$(PREFIX_CONF))
FLAGS_EXTRAS=-d
else ifeq (auto_subnets,$(PREFIX_CONF))
FLAGS_EXTRAS=-r
USEMODULE += slipdev_l2addr
endif
# Configure terminal parameters
TERMDEPS += host-tools
TERMPROG ?= sudo sh $(RIOTTOOLS)/sliptty/start_network.sh
TERMFLAGS ?= $(FLAGS_EXTRAS) $(IPV6_PREFIX) $(PORT) $(SLIP_BAUDRATE)