Skip to content

Commit 526d2d1

Browse files
committed
examples/gnrc_border_router: move board specific deps in a separate Makefile
1 parent 9f9a11f commit 526d2d1

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

examples/gnrc_border_router/Makefile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,13 @@ BOARD_BLACKLIST += pic32-wifire pic32-clicker ruuvitag thingy52
1313
# use ethos (ethernet over serial) for network communication and stdio over
1414
# UART, but not on native, as native has a tap interface towards the host.
1515
ifeq (,$(filter native,$(BOARD)))
16-
GNRC_NETIF_NUMOF := 2
17-
USEMODULE += stdio_ethos
18-
1916
# ethos baudrate can be configured from make command
2017
ETHOS_BAUDRATE ?= 115200
2118
CFLAGS += -DETHOS_BAUDRATE=$(ETHOS_BAUDRATE)
2219
else
23-
GNRC_NETIF_NUMOF := 2
2420
TERMFLAGS += -z [::1]:17754
25-
USEMODULE += socket_zep
2621
endif
22+
GNRC_NETIF_NUMOF := 2
2723

2824
# SLIP legacy compatibility
2925
# Uncomment the lines below if you want to use SLIP with this example and don't
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Put here board specific dependencies
2+
ifeq (,$(filter native,$(BOARD)))
3+
USEMODULE += stdio_ethos
4+
else
5+
USEMODULE += socket_zep
6+
endif

0 commit comments

Comments
 (0)