diff options
author | Marcin Nowakowski <marcin.nowakowski@imgtec.com> | 2017-03-17 10:11:19 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-03-18 15:14:35 +0100 |
commit | bfc86a9813301fde21652009d6473c68553322ee (patch) | |
tree | fe0cd27cb672029a09cc881e25206008bdc965b2 /package/libkcapi | |
parent | 7c997282bd55dab162a45a372ed203f97707fae7 (diff) | |
download | buildroot-bfc86a9813301fde21652009d6473c68553322ee.tar.gz buildroot-bfc86a9813301fde21652009d6473c68553322ee.zip |
libkcapi: new package
This package provides a userspace library that allows easy use of crypto
interfaces exposed by the kernel.
A git tip is used instead of the last official release, as autotools
support and cross-compilation fixes have been added only very recently.
Signed-off-by: Marcin Nowakowski <marcin.nowakowski@imgtec.com>
Reviewed-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
[Thomas:
- Change sub-option prompt to "build test applications"
- Be more specific about the license: the library is under BSD-3c only,
while the programs are under BSD-3c or GPLv2.
- Explicitly disable programs when BR2_PACKAGE_LIBKCAPI_APPS is not
enabled.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/libkcapi')
-rw-r--r-- | package/libkcapi/Config.in | 16 | ||||
-rw-r--r-- | package/libkcapi/libkcapi.hash | 2 | ||||
-rw-r--r-- | package/libkcapi/libkcapi.mk | 20 |
3 files changed, 38 insertions, 0 deletions
diff --git a/package/libkcapi/Config.in b/package/libkcapi/Config.in new file mode 100644 index 0000000000..453dc69d4f --- /dev/null +++ b/package/libkcapi/Config.in @@ -0,0 +1,16 @@ +config BR2_PACKAGE_LIBKCAPI + bool "libkcapi" + help + Linux Kernel Crypto API userspace interface library + + http://www.chronox.de/libkcapi.html + +if BR2_PACKAGE_LIBKCAPI + +config BR2_PACKAGE_LIBKCAPI_APPS + bool "build test applications" + help + Build additional test applications that can provide + performance or algorithm tests. + +endif diff --git a/package/libkcapi/libkcapi.hash b/package/libkcapi/libkcapi.hash new file mode 100644 index 0000000000..e191970671 --- /dev/null +++ b/package/libkcapi/libkcapi.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 1ed007a35d9fe31383d1131e9f8e14af4df8d55e6c48828b5075324b2876364a libkcapi-a039f8a5adca57dc69a19d7361600c2f410e0c26.tar.gz diff --git a/package/libkcapi/libkcapi.mk b/package/libkcapi/libkcapi.mk new file mode 100644 index 0000000000..948809835a --- /dev/null +++ b/package/libkcapi/libkcapi.mk @@ -0,0 +1,20 @@ +################################################################################ +# +# libkcapi +# +################################################################################ + +LIBKCAPI_VERSION = a039f8a5adca57dc69a19d7361600c2f410e0c26 +LIBKCAPI_SITE = $(call github,smuellerDD,libkcapi,$(LIBKCAPI_VERSION)) +LIBKCAPI_AUTORECONF = YES +LIBKCAPI_INSTALL_STAGING = YES +LIBKCAPI_LICENSE = BSD-3c (library), BSD-3c or GPLv2 (programs) +LIBKCAPI_LICENSE_FILES = COPYING COPYING.gplv2 COPYING.bsd + +ifeq ($(BR2_PACKAGE_LIBKCAPI_APPS),y) +LIBKCAPI_CONF_OPTS += --enable-kcapi-speed --enable-kcapi-test --enable-apps +else +LIBKCAPI_CONF_OPTS += --disable-kcapi-speed --disable-kcapi-test --disable-apps +endif + +$(eval $(autotools-package)) |