pkg: add support for tinycrypt

This commit is contained in:
Hauke Petersen 2017-12-15 13:48:39 +01:00
parent 83abf11f2f
commit 5220243853
4 changed files with 22 additions and 0 deletions

12
pkg/tinycrypt/Makefile Normal file
View File

@ -0,0 +1,12 @@
PKG_NAME=tinycrypt
PKG_URL=https://github.com/01org/tinycrypt
PKG_VERSION=3ea1a609e7aff9f2d8d13803e1076b7a8e551804
PKG_LICENSE=BSD-3-Clause
.PHONY: all
all: git-download
"$(MAKE)" -C $(PKG_BUILDDIR)/lib/source/ \
-f $(RIOTPKG)/tinycrypt/Makefile.$(PKG_NAME)
include $(RIOTBASE)/pkg/pkg.mk

View File

@ -0,0 +1 @@
INCLUDES += -I$(PKGDIRBASE)/tinycrypt/lib/include

View File

@ -0,0 +1,3 @@
MODULE = tinycrypt
include $(RIOTBASE)/Makefile.base

6
pkg/tinycrypt/doc.txt Normal file
View File

@ -0,0 +1,6 @@
/**
* @defgroup pkg_tinycrypt tinycrypt crypto library
* @ingroup pkg
* @brief Memory optimized crypto library for embedded devices
* @see https://github.com/01org/tinycrypt
*/