From f65a9e1306d8be03ecd4f97d8c25dc862b5793f6 Mon Sep 17 00:00:00 2001 From: chrysn Date: Mon, 10 May 2021 17:31:17 +0200 Subject: [PATCH] pkg/tinycrypt: Avoid pulling in default_CSPRNG ... which would be provided through ecc_platform_specific.c but would only so happen to work on native -- and conflicts with any default_CSPRNG provided in the future (eg. through a newer libcose packet). --- pkg/tinycrypt/Makefile | 4 ++-- pkg/tinycrypt/Makefile.tinycrypt | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 pkg/tinycrypt/Makefile.tinycrypt diff --git a/pkg/tinycrypt/Makefile b/pkg/tinycrypt/Makefile index 4889b1e382..a85b1d2e40 100644 --- a/pkg/tinycrypt/Makefile +++ b/pkg/tinycrypt/Makefile @@ -5,5 +5,5 @@ PKG_LICENSE=BSD-3-Clause include $(RIOTBASE)/pkg/pkg.mk -all: - $(QQ)"$(MAKE)" -C $(PKG_SOURCE_DIR)/lib/source/ -f $(RIOTBASE)/Makefile.base MODULE=$(PKG_NAME) +all: Makefile.tinycrypt + $(QQ)"$(MAKE)" -C $(PKG_SOURCE_DIR)/lib/source/ -f $(CURDIR)/Makefile.tinycrypt -f $(RIOTBASE)/Makefile.base MODULE=$(PKG_NAME) diff --git a/pkg/tinycrypt/Makefile.tinycrypt b/pkg/tinycrypt/Makefile.tinycrypt new file mode 100644 index 0000000000..ded7429150 --- /dev/null +++ b/pkg/tinycrypt/Makefile.tinycrypt @@ -0,0 +1 @@ +SRC = $(filter-out ecc_platform_specific.c,$(wildcard *.c))