From 304cbdf89f3d9ffbdb48d50ddfe5ea23a67ea255 Mon Sep 17 00:00:00 2001 From: Francisco Molina Date: Wed, 26 Aug 2020 16:21:21 +0200 Subject: [PATCH] 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)))