1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-28 07:51:19 +01:00
RIOT/pkg/edhoc-c/Makefile.include
Marian Buschsieweke f46ab1cb67
pkg: Use -isystem instead of -I for pkg headers
We cannot fix package headers downstream, so we can just as well tell
the compiler to not warn about them.
2025-04-10 13:37:14 +02:00

25 lines
731 B
Makefile

# Using -isystem instead of -I to prevent warnings for the following headers
INCLUDES += -isystem$(PKGDIRBASE)/EDHOC-C/include \
-isystem$(PKGDIRBASE)/EDHOC-C/src \
-isystem$(RIOTBASE)/pkg/edhoc-c/include \
#
ifneq (,$(filter edhoc-c_crypto_wolfssl,$(USEMODULE)))
CFLAGS += -DHAVE_AESCCM
CFLAGS += -DHAVE_HKDF
CFLAGS += -DWOLFSSL
endif
ifneq (,$(filter edhoc-c_crypto_tinycrypt,$(USEMODULE)))
CFLAGS += -DTINYCRYPT
endif
ifneq (,$(filter edhoc-c_cbor_nanocbor,$(USEMODULE)))
CFLAGS += -DNANOCBOR
endif
# EDHOC-C configuration file for RIOT
CFLAGS += -DEDHOC_CONFIG_FILE=\"edhoc_config.h\"
# X509 backend in EDHOC-C is mbedtls currently not supported in RIOT
CFLAGS += -DEMPTY_X509