mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
tests/gnrc_tcp: move board specific deps in Makefile.board.dep
This commit is contained in:
parent
f184c7daf2
commit
b58c5afb2c
@ -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
|
||||
|
6
tests/gnrc_tcp/Makefile.board.dep
Normal file
6
tests/gnrc_tcp/Makefile.board.dep
Normal file
@ -0,0 +1,6 @@
|
||||
# Put board specific dependencies here
|
||||
ifeq (native,$(BOARD))
|
||||
USEMODULE += netdev_tap
|
||||
else
|
||||
USEMODULE += stdio_ethos
|
||||
endif
|
Loading…
Reference in New Issue
Block a user