From b58c5afb2cc219d492a3d66dc0d6a87f8be613aa Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Mon, 18 Nov 2019 15:56:00 +0100 Subject: [PATCH] tests/gnrc_tcp: move board specific deps in Makefile.board.dep --- tests/gnrc_tcp/Makefile | 2 -- tests/gnrc_tcp/Makefile.board.dep | 6 ++++++ 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 tests/gnrc_tcp/Makefile.board.dep diff --git a/tests/gnrc_tcp/Makefile b/tests/gnrc_tcp/Makefile index ea2f5faefd..f4302e148f 100644 --- a/tests/gnrc_tcp/Makefile +++ b/tests/gnrc_tcp/Makefile @@ -20,10 +20,8 @@ CFLAGS += -DGNRC_TCP_MSL=$(MSL_US) CFLAGS += -DGNRC_TCP_CONNECTION_TIMEOUT_DURATION=$(TIMEOUT_US) 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_tcp/Makefile.board.dep b/tests/gnrc_tcp/Makefile.board.dep new file mode 100644 index 0000000000..b595b8605c --- /dev/null +++ b/tests/gnrc_tcp/Makefile.board.dep @@ -0,0 +1,6 @@ +# Put board specific dependencies here +ifeq (native,$(BOARD)) + USEMODULE += netdev_tap +else + USEMODULE += stdio_ethos +endif