Merge pull request #13565 from jia200x/pr/netdev_submodule
netdev: make netdev_% variants a submodule
This commit is contained in:
commit
f2a1043654
@ -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
|
||||
|
||||
@ -140,3 +140,11 @@ endif
|
||||
ifneq (,$(filter ws281x_%,$(USEMODULE)))
|
||||
USEMODULE += ws281x
|
||||
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
|
||||
|
||||
@ -1 +1,3 @@
|
||||
SUBMODULES := 1
|
||||
|
||||
include $(RIOTBASE)/Makefile.base
|
||||
@ -1 +0,0 @@
|
||||
include $(RIOTBASE)/Makefile.base
|
||||
@ -1 +0,0 @@
|
||||
include $(RIOTBASE)/Makefile.base
|
||||
@ -75,6 +75,9 @@ PSEUDOMODULES += mpu_noexec_ram
|
||||
PSEUDOMODULES += nanocoap_%
|
||||
PSEUDOMODULES += netdev_default
|
||||
PSEUDOMODULES += netdev_ieee802154_%
|
||||
PSEUDOMODULES += netdev_ieee802154
|
||||
PSEUDOMODULES += netdev_eth
|
||||
PSEUDOMODULES += netdev_layer
|
||||
PSEUDOMODULES += netdev_register
|
||||
PSEUDOMODULES += netstats
|
||||
PSEUDOMODULES += netstats_l2
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user