From 304cbdf89f3d9ffbdb48d50ddfe5ea23a67ea255 Mon Sep 17 00:00:00 2001 From: Francisco Molina Date: Wed, 26 Aug 2020 16:21:21 +0200 Subject: [PATCH 1/2] sys/suit: allow easy selection of libcose_crypt module --- sys/Makefile.dep | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sys/Makefile.dep b/sys/Makefile.dep index e96a15b89b..0f738e5ffe 100644 --- a/sys/Makefile.dep +++ b/sys/Makefile.dep @@ -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))) From f8e6f776579c89da57707fe6ac44ba5a81db79ee Mon Sep 17 00:00:00 2001 From: Francisco Molina Date: Mon, 26 Oct 2020 17:41:47 +0100 Subject: [PATCH 2/2] sys/Makefile.dep: add missing nanocoap_sock dependency --- sys/Makefile.dep | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/Makefile.dep b/sys/Makefile.dep index 0f738e5ffe..34f0b3ca23 100644 --- a/sys/Makefile.dep +++ b/sys/Makefile.dep @@ -817,6 +817,10 @@ ifneq (,$(filter luid,$(USEMODULE))) FEATURES_OPTIONAL += periph_cpuid endif +ifneq (,$(filter nanocoap_sock,$(USEMODULE))) + USEMODULE += sock_udp +endif + ifneq (,$(filter nanocoap_%,$(USEMODULE))) USEMODULE += nanocoap endif