mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
pkg/libcose: Update version
introducing an optional dependency on tinycrypt
This commit is contained in:
parent
f65a9e1306
commit
a5d1639a25
@ -1,6 +1,6 @@
|
|||||||
PKG_NAME=libcose
|
PKG_NAME=libcose
|
||||||
PKG_URL=https://github.com/bergzand/libcose
|
PKG_URL=https://github.com/bergzand/libcose
|
||||||
PKG_VERSION=8b5f651c3203682a2d98121cd3e5c844cb2b4c36
|
PKG_VERSION=3fdf1238987b6aeec113b1872e56307893feeae7
|
||||||
PKG_LICENSE=LGPL
|
PKG_LICENSE=LGPL
|
||||||
|
|
||||||
include $(RIOTBASE)/pkg/pkg.mk
|
include $(RIOTBASE)/pkg/pkg.mk
|
||||||
|
@ -10,3 +10,6 @@ endif
|
|||||||
ifneq (,$(filter libcose_crypt_c25519,$(USEMODULE)))
|
ifneq (,$(filter libcose_crypt_c25519,$(USEMODULE)))
|
||||||
USEPKG += c25519
|
USEPKG += c25519
|
||||||
endif
|
endif
|
||||||
|
ifneq (,$(filter libcose_crypt_tinycrypt,$(USEMODULE)))
|
||||||
|
USEPKG += tinycrypt
|
||||||
|
endif
|
||||||
|
@ -7,6 +7,9 @@ endif
|
|||||||
ifneq (,$(filter libcose_crypt_c25519,$(USEMODULE)))
|
ifneq (,$(filter libcose_crypt_c25519,$(USEMODULE)))
|
||||||
CFLAGS += -DCRYPTO_C25519
|
CFLAGS += -DCRYPTO_C25519
|
||||||
endif
|
endif
|
||||||
|
ifneq (,$(filter libcose_crypt_tinycrypt,$(USEMODULE)))
|
||||||
|
CFLAGS += -DCRYPTO_TINYCRYPT
|
||||||
|
endif
|
||||||
|
|
||||||
# Declare pseudomodules here to be selfcontained
|
# Declare pseudomodules here to be selfcontained
|
||||||
PSEUDOMODULES += libcose_crypt_%
|
PSEUDOMODULES += libcose_crypt_%
|
||||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user