1
0
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:
Jose Alamos 2020-09-30 16:16:46 +02:00
parent 413ffbb035
commit 8289612529
2 changed files with 4 additions and 5 deletions

View File

@ -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

View File

@ -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