make: missing dependency to gnrc_netdev2

If netdev2_tap is used with gnrc, this module is also required.
This commit is contained in:
Oleg Hahm 2016-03-08 16:38:45 +01:00
parent 7552867858
commit 8c7cfca340

View File

@ -31,6 +31,9 @@ endif
ifneq (,$(filter netdev2_tap,$(USEMODULE))) ifneq (,$(filter netdev2_tap,$(USEMODULE)))
USEMODULE += netif USEMODULE += netif
USEMODULE += netdev2_eth USEMODULE += netdev2_eth
ifneq (,$(filter gnrc_%,$(USEMODULE)))
USEMODULE += gnrc_netdev2
endif
endif endif
ifneq (,$(filter gnrc_zep,$(USEMODULE))) ifneq (,$(filter gnrc_zep,$(USEMODULE)))