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
|
# Add deprecated modules here
|
||||||
# Keep this list ALPHABETICALLY SORTED!!!!111elven
|
# Keep this list ALPHABETICALLY SORTED!!!!111elven
|
||||||
DEPRECATED_MODULES += event_thread_lowest
|
DEPRECATED_MODULES += event_thread_lowest
|
||||||
|
DEPRECATED_MODULES += gnrc_netdev_default
|
||||||
|
|||||||
@ -35,6 +35,9 @@ endif
|
|||||||
ifneq (,$(filter gnrc_netdev_default,$(USEMODULE)))
|
ifneq (,$(filter gnrc_netdev_default,$(USEMODULE)))
|
||||||
# enable default network devices on the platform
|
# enable default network devices on the platform
|
||||||
USEMODULE += netdev_default
|
USEMODULE += netdev_default
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifneq (,$(filter netdev_default,$(USEMODULE)))
|
||||||
USEMODULE += netdev
|
USEMODULE += netdev
|
||||||
USEMODULE += gnrc_netif
|
USEMODULE += gnrc_netif
|
||||||
endif
|
endif
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user