2018-06-29 17:31:41 +02:00
|
|
|
PKG_NAME=monocypher
|
|
|
|
PKG_URL=https://github.com/LoupVaillant/Monocypher
|
2021-01-18 15:05:04 +01:00
|
|
|
PKG_VERSION=baca5d31259c598540e4d1284bc8d8f793abf83a # v3.1.2
|
2018-06-29 17:31:41 +02:00
|
|
|
PKG_LICENSE=CC-0
|
|
|
|
|
2019-10-02 12:47:02 +02:00
|
|
|
include $(RIOTBASE)/pkg/pkg.mk
|
2018-06-29 17:31:41 +02:00
|
|
|
|
2020-06-12 17:20:46 +02:00
|
|
|
CFLAGS += -DBLAKE2_NO_UNROLLING
|
|
|
|
|
2020-06-12 17:19:15 +02:00
|
|
|
all: $(filter monocypher_optional,$(USEMODULE))
|
2020-06-13 20:58:27 +02:00
|
|
|
"$(MAKE)" -C $(PKG_SOURCE_DIR)/src -f $(RIOTBASE)/Makefile.base MODULE=$(PKG_NAME)
|
2020-06-12 17:19:15 +02:00
|
|
|
|
|
|
|
monocypher_optional:
|
2020-06-13 20:58:27 +02:00
|
|
|
"$(MAKE)" -C $(PKG_SOURCE_DIR)/src/optional -f $(RIOTBASE)/Makefile.base MODULE=$@
|