mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
pkg/openthread: move dependencies to pkg Makefile.dep
This commit is contained in:
parent
2bf6d01a87
commit
74ec336d03
10
Makefile.dep
10
Makefile.dep
@ -653,11 +653,6 @@ ifneq (,$(filter random,$(USEMODULE)))
|
||||
USEMODULE += luid
|
||||
endif
|
||||
|
||||
ifneq (,$(filter openthread_contrib,$(USEMODULE)))
|
||||
USEMODULE += openthread_contrib_netdev
|
||||
FEATURES_REQUIRED += cpp
|
||||
endif
|
||||
|
||||
ifneq (,$(filter asymcute,$(USEMODULE)))
|
||||
USEMODULE += sock_udp
|
||||
USEMODULE += sock_util
|
||||
@ -731,11 +726,6 @@ ifneq (,$(filter gcoap,$(USEMODULE)))
|
||||
USEMODULE += sock_util
|
||||
endif
|
||||
|
||||
ifneq (,$(filter openthread,$(USEPKG)))
|
||||
USEMODULE += openthread_contrib
|
||||
USEMODULE += mbedcrypto
|
||||
endif
|
||||
|
||||
ifneq (,$(filter luid,$(USEMODULE)))
|
||||
FEATURES_OPTIONAL += periph_cpuid
|
||||
endif
|
||||
|
10
pkg/openthread/Makefile.dep
Normal file
10
pkg/openthread/Makefile.dep
Normal file
@ -0,0 +1,10 @@
|
||||
ifneq (,$(filter openthread,$(USEPKG)))
|
||||
USEMODULE += openthread_contrib
|
||||
USEMODULE += mbedcrypto
|
||||
endif
|
||||
|
||||
ifneq (,$(filter openthread_contrib,$(USEMODULE)))
|
||||
USEMODULE += openthread_contrib_netdev
|
||||
USEMODULE += xtimer
|
||||
FEATURES_REQUIRED += cpp
|
||||
endif
|
Loading…
Reference in New Issue
Block a user