treewide: change netdev driver dependencies against netdev_default

- gnrc_netdev_default depends on netdev_default, no need for checking
against both modules.
- fix documentation mentions of the double check
This commit is contained in:
Francisco Molina 2020-08-26 16:10:13 +02:00
parent f38baaabce
commit c05dd9e6d3
No known key found for this signature in database
GPG Key ID: 3E94EAC3DBDEEDA8
6 changed files with 6 additions and 6 deletions

View File

@ -3,7 +3,7 @@ ifneq (,$(filter atmega_pcint,$(USEMODULE)))
USEMODULE += atmega_pcint1
endif
ifneq (,$(filter gnrc_netdev_default netdev_default,$(USEMODULE)))
ifneq (,$(filter netdev_default,$(USEMODULE)))
USEMODULE += at86rfa1
endif

View File

@ -3,7 +3,7 @@ ifneq (,$(filter atmega_pcint,$(USEMODULE)))
USEMODULE += atmega_pcint1
endif
ifneq (,$(filter gnrc_netdev_default netdev_default,$(USEMODULE)))
ifneq (,$(filter netdev_default,$(USEMODULE)))
USEMODULE += at86rfr2
endif

View File

@ -1145,7 +1145,7 @@ The RIOT port for ESP32 realizes with module ```esp_eth``` a ```netdev``` driver
If the board has one of the supported PHY layer chips connected to the ESP32, the ```esp_eth``` module should be enabled by default in board's ```Makefile.dep``` when module ```netdev_default``` is used.
```
ifneq (,$(filter netdev_default gnrc_netdev_default,$(USEMODULE)))
ifneq (,$(filter netdev_default,$(USEMODULE)))
USEMODULE += esp_eth
endif
```

View File

@ -22,7 +22,7 @@ The RIOT port for ESP32 realizes with module ```esp_eth``` a ```netdev``` driver
If the board has one of the supported PHY layer chips connected to the ESP32, the ```esp_eth``` module should be enabled by default in board's ```Makefile.dep``` when module ```netdev_default``` is used.
```
ifneq (,$(filter netdev_default gnrc_netdev_default,$(USEMODULE)))
ifneq (,$(filter netdev_default,$(USEMODULE)))
USEMODULE += esp_eth
endif
```

View File

@ -25,7 +25,7 @@ ifneq (,$(filter esp_wifi_enterprise,$(USEMODULE)))
USEMODULE += esp_wifi
endif
ifneq (,$(filter netdev_default gnrc_netdev_default,$(USEMODULE)))
ifneq (,$(filter netdev_default,$(USEMODULE)))
ifneq (,$(filter lwip,$(USEMODULE)))
# for lwip, use esp_wifi as default netdev if no other netdev is enabled
ifeq (,$(filter esp_eth,$(USEMODULE)))

View File

@ -1,4 +1,4 @@
# use the default network interface for the board
USEMODULE += netdev_default
USEMODULE += gnrc_netdev_default
include Makefile.netdev.mk