From f184c7daf2e81deb46a3d3367e43756abdd3593f Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Mon, 18 Nov 2019 15:55:06 +0100 Subject: [PATCH] tests/gnrc_rpl_srh: move board specific deps in Makefile.board.dep --- tests/gnrc_rpl_srh/Makefile | 4 ---- tests/gnrc_rpl_srh/Makefile.board.dep | 6 ++++++ 2 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 tests/gnrc_rpl_srh/Makefile.board.dep 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