1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/examples/gnrc_border_router/Makefile.board.dep
Benjamin Valentin 516c69cb5f boards/native: allow to use ZEP instead of tap
If `native` is compiled with `USEMODULE=socket_zep` and networking,
don't also include `netdev_tap` automatically.

This mirrors the behavior on nrf52 and esp* where the default netdev
can be 'overwritten' by another option.
2020-11-13 18:43:49 +01:00

20 lines
499 B
Makefile

# Put board specific dependencies here
ifeq (,$(filter native,$(BOARD)))
ifeq (slip,$(UPLINK))
USEMODULE += slipdev_stdio
else ifeq (ethos,$(UPLINK))
USEMODULE += stdio_ethos
else ifeq (wifi,$(UPLINK))
ifneq (,$(filter esp32 esp8266,$(CPU)))
USEMODULE += esp_wifi
USEMODULE += esp_now
else
$(error Only esp32 and esp8266 are currently supported)
endif
endif
else
USEMODULE += netdev_tap
USEMODULE += socket_zep
USEMODULE += socket_zep_hello
endif