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:
parent
7381fb638a
commit
459f3987d0
@ -1,3 +1,4 @@
|
||||
# Add deprecated modules here
|
||||
# Keep this list ALPHABETICALLY SORTED!!!!111elven
|
||||
DEPRECATED_MODULES += event_thread_lowest
|
||||
DEPRECATED_MODULES += gnrc_netdev_default
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user