From a4bff5f8033c5c4ffadc0dafd29e65320b16a4c5 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Mon, 11 Nov 2019 15:36:42 +0100 Subject: [PATCH] pkg/libfixmath: blacklist architectures not supported by unittests 8bit architectures are not compatible. round function is not provided by the msp430 toolchain. --- pkg/libfixmath/Makefile.dep | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 pkg/libfixmath/Makefile.dep diff --git a/pkg/libfixmath/Makefile.dep b/pkg/libfixmath/Makefile.dep new file mode 100644 index 0000000000..c249341fc0 --- /dev/null +++ b/pkg/libfixmath/Makefile.dep @@ -0,0 +1,8 @@ +ifneq (,$(filter libfixmath-unittests,$(USEMODULE))) + # libfixmath unittests use shift operand incompatible with 8bit + # architecture int type. + FEATURES_BLACKLIST += arch_8bit + + # The round function is not provided by the msp430 toolchain + FEATURES_BLACKLIST += arch_msp430 +endif