From ffc4277b9ff64aaf7f9a99db655d3d8953885642 Mon Sep 17 00:00:00 2001 From: Marian Buschsieweke Date: Mon, 19 Oct 2020 09:19:23 +0200 Subject: [PATCH 1/2] pkg/tinycrypt: Fix dependencies According to tests/pkg_tinycrypt, this package only works on 32 bit archs. So add this as a required feature. --- pkg/tinycrypt/Makefile.dep | 1 + 1 file changed, 1 insertion(+) create mode 100644 pkg/tinycrypt/Makefile.dep diff --git a/pkg/tinycrypt/Makefile.dep b/pkg/tinycrypt/Makefile.dep new file mode 100644 index 0000000000..bdbbad5895 --- /dev/null +++ b/pkg/tinycrypt/Makefile.dep @@ -0,0 +1 @@ +FEATURES_REQUIRED += arch_32bit From 8319f4ac632bddb26ad8d6812bf12ca5497e61d0 Mon Sep 17 00:00:00 2001 From: Marian Buschsieweke Date: Mon, 19 Oct 2020 09:20:02 +0200 Subject: [PATCH 2/2] tests/pkg_tinycrypt: Drop whitelist This was an ugly hack to work around broken dependency modeling. Since the dependencies are now correctly modelled, this hack can be dropped. --- tests/pkg_tinycrypt/Makefile | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/pkg_tinycrypt/Makefile b/tests/pkg_tinycrypt/Makefile index 4a13e8fac0..cfc500650c 100644 --- a/tests/pkg_tinycrypt/Makefile +++ b/tests/pkg_tinycrypt/Makefile @@ -1,9 +1,5 @@ include ../Makefile.tests_common -# tinycrypt works for 32-bit architectures only. The nrf52dk is chosen as a -# placeholder for all Cortex-M4 boards. -BOARD_WHITELIST += native nrf52dk - USEPKG += tinycrypt USEMODULE = fmt