mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
a5d1639a25
introducing an optional dependency on tinycrypt
16 lines
420 B
Makefile
16 lines
420 B
Makefile
INCLUDES += -I$(PKGDIRBASE)/libcose/include
|
|
CFLAGS += -DUSE_CBOR_CONTEXT
|
|
|
|
ifneq (,$(filter libcose_crypt_hacl,$(USEMODULE)))
|
|
CFLAGS += -DCRYPTO_HACL
|
|
endif
|
|
ifneq (,$(filter libcose_crypt_c25519,$(USEMODULE)))
|
|
CFLAGS += -DCRYPTO_C25519
|
|
endif
|
|
ifneq (,$(filter libcose_crypt_tinycrypt,$(USEMODULE)))
|
|
CFLAGS += -DCRYPTO_TINYCRYPT
|
|
endif
|
|
|
|
# Declare pseudomodules here to be selfcontained
|
|
PSEUDOMODULES += libcose_crypt_%
|