sys/suit: allow easy selection of libcose_crypt module
This commit is contained in:
parent
a13a2d7bfc
commit
304cbdf89f
@ -922,9 +922,12 @@ endif
|
|||||||
ifneq (,$(filter suit,$(USEMODULE)))
|
ifneq (,$(filter suit,$(USEMODULE)))
|
||||||
USEPKG += nanocbor
|
USEPKG += nanocbor
|
||||||
USEPKG += libcose
|
USEPKG += libcose
|
||||||
USEMODULE += libcose_crypt_c25519
|
|
||||||
USEMODULE += uuid
|
USEMODULE += uuid
|
||||||
|
|
||||||
|
ifeq (,$(filter libcose_crypt_%,$(USEMODULE)))
|
||||||
|
USEMODULE += libcose_crypt_c25519
|
||||||
|
endif
|
||||||
|
|
||||||
# tests/suit_manifest has some mock implementations,
|
# tests/suit_manifest has some mock implementations,
|
||||||
# only add the non-mock dependencies if not building that test.
|
# only add the non-mock dependencies if not building that test.
|
||||||
ifeq (,$(filter suit_transport_mock,$(USEMODULE)))
|
ifeq (,$(filter suit_transport_mock,$(USEMODULE)))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user