1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 04:52:59 +01:00

drivers/Makefile.dep: don't pull netdev on netdev_default

netdev_default should enable the network devices, which do not
necessarily use netdev.
This commit is contained in:
Leandro Lanzieri 2021-01-29 13:28:30 +01:00
parent 79fe7274ca
commit fe5c982fa6
No known key found for this signature in database
GPG Key ID: F4E9A721761C7593
5 changed files with 7 additions and 5 deletions

View File

@ -197,7 +197,7 @@ ifneq (,$(filter periph_timer_periodic,$(USEMODULE)))
FEATURES_REQUIRED += periph_timer
endif
ifneq (,$(filter netdev_%,$(USEMODULE)))
ifneq (,$(filter-out netdev_default, $(filter netdev_%,$(USEMODULE))))
USEMODULE += netdev
# Don't register netdevs if there is only a single one of them
ifeq (,$(filter gnrc_netif_single,$(USEMODULE)))

View File

@ -63,6 +63,7 @@ ifneq (,$(filter lwip_%,$(USEMODULE)))
USEMODULE += lwip_contrib
USEMODULE += lwip_core
USEMODULE += lwip_netif
USEMODULE += netdev
ifeq (,$(filter lwip_ipv4 lwip_ipv6,$(USEMODULE)))
USEMODULE += lwip_ipv4
endif

View File

@ -1,12 +1,9 @@
USEMODULE += openthread_contrib
USEMODULE += netdev
USEMODULE += openthread_contrib_netdev
USEMODULE += l2util
USEMODULE += xtimer
USEMODULE += event
ifneq (,$(filter cc2538_rf nrf802154,$(USEMODULE)))
USEMODULE += netdev_ieee802154_submac
endif
FEATURES_REQUIRED += cpp

View File

@ -49,7 +49,9 @@ ifneq (,$(filter openwsn_crypto,$(USEMODULE)))
endif
ifneq (,$(filter openwsn_radio,$(USEMODULE)))
# enable default network devices on the platform
USEMODULE += netdev_default
USEMODULE += netdev
USEMODULE += luid
ifneq (,$(filter cc2538_rf nrf802154,$(USEMODULE)))
USEMODULE += openwsn_radio_hal

View File

@ -147,7 +147,9 @@ ifneq (,$(filter ieee802154_radio_hal,$(USEMODULE)))
endif
ifneq (,$(filter gnrc_netdev_default,$(USEMODULE)))
# enable default network devices on the platform
USEMODULE += netdev_default
USEMODULE += netdev
USEMODULE += gnrc_netif
endif