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:
parent
f38baaabce
commit
c05dd9e6d3
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
```
|
||||
|
||||
@ -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
|
||||
```
|
||||
|
||||
@ -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)))
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
# use the default network interface for the board
|
||||
USEMODULE += netdev_default
|
||||
USEMODULE += gnrc_netdev_default
|
||||
|
||||
include Makefile.netdev.mk
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user