mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
516c69cb5f
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.
20 lines
499 B
Makefile
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
|