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