From a06ac2afc001df33ca467272a5ba466e77f45ba6 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Mon, 18 Nov 2019 15:52:21 +0100 Subject: [PATCH] tests/gnrc_ipv6_ext: move board specific deps in Makefile.board.dep --- tests/gnrc_ipv6_ext/Makefile | 4 ---- tests/gnrc_ipv6_ext/Makefile.board.dep | 6 ++++++ 2 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 tests/gnrc_ipv6_ext/Makefile.board.dep diff --git a/tests/gnrc_ipv6_ext/Makefile b/tests/gnrc_ipv6_ext/Makefile index 79bc3382a1..886149f903 100644 --- a/tests/gnrc_ipv6_ext/Makefile +++ b/tests/gnrc_ipv6_ext/Makefile @@ -9,12 +9,8 @@ export TAP ?= tap0 # 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_ipv6_ext/Makefile.board.dep b/tests/gnrc_ipv6_ext/Makefile.board.dep new file mode 100644 index 0000000000..b595b8605c --- /dev/null +++ b/tests/gnrc_ipv6_ext/Makefile.board.dep @@ -0,0 +1,6 @@ +# Put board specific dependencies here +ifeq (native,$(BOARD)) + USEMODULE += netdev_tap +else + USEMODULE += stdio_ethos +endif