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:
parent
79fe7274ca
commit
fe5c982fa6
@ -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)))
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user