bfc86a9813
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>
21 lines
726 B
Makefile
21 lines
726 B
Makefile
################################################################################
|
|
#
|
|
# 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))
|