mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-17 18:43:50 +01:00
We cannot fix package headers downstream, so we can just as well tell the compiler to not warn about them.
35 lines
1.3 KiB
Makefile
35 lines
1.3 KiB
Makefile
PKG_SOURCE_DIR ?= $(PKGDIRBASE)/cryptoauthlib
|
|
PKG_TESTINCLDIR = $(PKG_SOURCE_DIR)/test
|
|
|
|
# Using -isystem instead of -I to prevent warnings for the following headers
|
|
INCLUDES += -isystem$(PKG_SOURCE_DIR)
|
|
INCLUDES += -isystem$(PKG_SOURCE_DIR)/lib
|
|
INCLUDES += -isystem$(PKG_SOURCE_DIR)/app
|
|
INCLUDES += -isystem$(PKG_SOURCE_DIR)/lib/calib
|
|
INCLUDES += -isystem$(RIOTPKG)/cryptoauthlib/include
|
|
|
|
ifneq (,$(filter psa_crypto, $(USEMODULE)))
|
|
DIRS += $(RIOTPKG)/cryptoauthlib/psa_atca_driver
|
|
INCLUDES += -isystem$(RIOTBASE)/sys/psa_crypto/include
|
|
endif
|
|
|
|
DIRS += $(RIOTPKG)/cryptoauthlib/contrib
|
|
ARCHIVES += $(BINDIR)/cryptoauthlib.a
|
|
|
|
ifneq (,$(filter cryptoauthlib_test,$(USEMODULE)))
|
|
INCLUDES += -isystem$(PKG_TESTINCLDIR)
|
|
INCLUDES += -isystem$(PKG_TESTINCLDIR)/jwt
|
|
INCLUDES += -isystem$(PKG_TESTINCLDIR)/tng
|
|
INCLUDES += -isystem$(PKG_TESTINCLDIR)/atcacert
|
|
INCLUDES += -isystem$(PKG_TESTINCLDIR)/api_atcab
|
|
INCLUDES += -isystem$(PKG_TESTINCLDIR)/api_calib
|
|
INCLUDES += -isystem$(PKG_TESTINCLDIR)/api_crypto
|
|
INCLUDES += -isystem$(PKG_TESTINCLDIR)/vectors
|
|
INCLUDES += -isystem$(PKG_SOURCE_DIR)/third_party/unity
|
|
endif
|
|
|
|
PSEUDOMODULES += psa_secure_element_ateccx08a
|
|
PSEUDOMODULES += psa_secure_element_ateccx08a_cipher_aes_128
|
|
PSEUDOMODULES += psa_secure_element_ateccx08a_ecc_p256
|
|
PSEUDOMODULES += psa_secure_element_ateccx08a_hmac_sha256
|