sys/suit: allow easy selection of libcose_crypt module

This commit is contained in:
Francisco Molina 2020-08-26 16:21:21 +02:00
parent a13a2d7bfc
commit 304cbdf89f
No known key found for this signature in database
GPG Key ID: 3E94EAC3DBDEEDA8

View File

@ -922,9 +922,12 @@ endif
ifneq (,$(filter suit,$(USEMODULE)))
USEPKG += nanocbor
USEPKG += libcose
USEMODULE += libcose_crypt_c25519
USEMODULE += uuid
ifeq (,$(filter libcose_crypt_%,$(USEMODULE)))
USEMODULE += libcose_crypt_c25519
endif
# tests/suit_manifest has some mock implementations,
# only add the non-mock dependencies if not building that test.
ifeq (,$(filter suit_transport_mock,$(USEMODULE)))