From 1ee1ffa1e317b92edd9a4a462fc0c322f15f7b9f Mon Sep 17 00:00:00 2001 From: Lena Boeckmann Date: Mon, 3 Feb 2020 12:04:32 +0100 Subject: [PATCH] pkg/cryptoauthlib: add includes to cflags for llvm --- pkg/cryptoauthlib/Makefile | 2 ++ pkg/cryptoauthlib/Makefile.include | 4 ---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/pkg/cryptoauthlib/Makefile b/pkg/cryptoauthlib/Makefile index dc05d046c2..aad2317be0 100644 --- a/pkg/cryptoauthlib/Makefile +++ b/pkg/cryptoauthlib/Makefile @@ -11,9 +11,11 @@ include $(RIOTBASE)/pkg/pkg.mk CMAKE_MINIMAL_VERSION = 3.6.0 +CFLAGS += $(INCLUDES) CFLAGS += -Wno-missing-field-initializers -Wno-unused-function CFLAGS += -Wno-type-limits -Wno-strict-aliasing -Wno-unused-variable -DATCA_HAL_I2C CFLAGS += -Wno-unused-parameter -Wno-sign-compare -Wno-overflow -Wno-pointer-to-int-cast +CFLAGS += -Wno-char-subscripts TOOLCHAIN_FILE=$(PKG_BUILDDIR)/xcompile-toolchain.cmake diff --git a/pkg/cryptoauthlib/Makefile.include b/pkg/cryptoauthlib/Makefile.include index d7bc7be062..3baf726f79 100644 --- a/pkg/cryptoauthlib/Makefile.include +++ b/pkg/cryptoauthlib/Makefile.include @@ -14,7 +14,3 @@ ifneq (,$(filter cryptoauthlib_test,$(USEMODULE))) INCLUDES += -I$(PKG_TESTINCLDIR)/tng INCLUDES += -I$(PKG_TESTINCLDIR)/atcacert endif - -ifneq (,$(filter cortex-m%,$(CPU_ARCH))) - TOOLCHAINS_BLACKLIST += llvm -endif