1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/pkg/libcose/Makefile.include

13 lines
333 B
Makefile

INCLUDES += -I$(PKGDIRBASE)/libcose/include
CFLAGS += -DUSE_CBOR_CONTEXT
ifneq (,$(filter libcose_crypt_tweetnacl,$(USEMODULE)))
CFLAGS += -DCRYPTO_TWEETNACL
endif
ifneq (,$(filter libcose_crypt_hacl,$(USEMODULE)))
CFLAGS += -DCRYPTO_HACL
endif
# Declare pseudomodules here to be selfcontained
PSEUDOMODULES += libcose_crypt_%