1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

gnrc: select gnrc_netif if netdev_default is selected

A generic application might select netdev_default instead of
gnrc_netdev_default to pull in the default network interface.

So pull in gnrc_netif if netdev_default is selected with GNRC.
This commit is contained in:
Benjamin Valentin 2021-08-16 00:03:41 +02:00
parent 7381fb638a
commit 459f3987d0
2 changed files with 4 additions and 0 deletions

View File

@ -1,3 +1,4 @@
# Add deprecated modules here
# Keep this list ALPHABETICALLY SORTED!!!!111elven
DEPRECATED_MODULES += event_thread_lowest
DEPRECATED_MODULES += gnrc_netdev_default

View File

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