Merge pull request #15308 from fjmolinas/pr_missing_suit_deps

sys/suit: dependencies fixes
This commit is contained in:
Koen Zandberg 2020-10-30 13:32:06 +01:00 committed by GitHub
commit b1146c0f42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -817,6 +817,10 @@ ifneq (,$(filter luid,$(USEMODULE)))
FEATURES_OPTIONAL += periph_cpuid FEATURES_OPTIONAL += periph_cpuid
endif endif
ifneq (,$(filter nanocoap_sock,$(USEMODULE)))
USEMODULE += sock_udp
endif
ifneq (,$(filter nanocoap_%,$(USEMODULE))) ifneq (,$(filter nanocoap_%,$(USEMODULE)))
USEMODULE += nanocoap USEMODULE += nanocoap
endif endif
@ -922,9 +926,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)))