diff --git a/tests/gnrc_rpl_srh/Makefile b/tests/gnrc_rpl_srh/Makefile index 4be5e28b19..02a7700277 100644 --- a/tests/gnrc_rpl_srh/Makefile +++ b/tests/gnrc_rpl_srh/Makefile @@ -11,12 +11,8 @@ CFLAGS += -DOUTPUT=TEXT # use Ethernet as link-layer protocol ifeq (native,$(BOARD)) - USEMODULE += netdev_tap - TERMFLAGS ?= $(TAP) else - USEMODULE += stdio_ethos - ETHOS_BAUDRATE ?= 115200 CFLAGS += -DETHOS_BAUDRATE=$(ETHOS_BAUDRATE) TERMDEPS += ethos diff --git a/tests/gnrc_rpl_srh/Makefile.board.dep b/tests/gnrc_rpl_srh/Makefile.board.dep new file mode 100644 index 0000000000..b595b8605c --- /dev/null +++ b/tests/gnrc_rpl_srh/Makefile.board.dep @@ -0,0 +1,6 @@ +# Put board specific dependencies here +ifeq (native,$(BOARD)) + USEMODULE += netdev_tap +else + USEMODULE += stdio_ethos +endif