mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Makefile.dep: fix netdev_register resolution
This commit is contained in:
parent
413ffbb035
commit
8289612529
@ -69,11 +69,6 @@ ifneq (,$(filter gnrc_mac,$(USEMODULE)))
|
||||
endif
|
||||
endif
|
||||
|
||||
# Don't register netdevs if there is only a single one of them
|
||||
ifeq (,$(filter gnrc_netif_single,$(USEMODULE)))
|
||||
USEMODULE += netdev_register
|
||||
endif
|
||||
|
||||
ifneq (,$(filter gnrc_gomach,$(USEMODULE)))
|
||||
USEMODULE += gnrc_netif
|
||||
USEMODULE += gnrc_nettype_gomach
|
||||
|
@ -143,4 +143,8 @@ endif
|
||||
|
||||
ifneq (,$(filter netdev_%,$(USEMODULE)))
|
||||
USEMODULE += netdev
|
||||
# Don't register netdevs if there is only a single one of them
|
||||
ifeq (,$(filter gnrc_netif_single,$(USEMODULE)))
|
||||
USEMODULE += netdev_register
|
||||
endif
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user