cd707a9112
Switch from github hash to an official release. Several upstream patches are required to build the code correctly on all platforms supported by buildroot. The test application now uses fork(). Signed-off-by: Marcin Nowakowski <marcin.nowakowski@imgtec.com> [Arnout: Squash the two patches, MMU dependency was introduced with the version bump. Wrap assignments in libkcapi.mk differently.] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
30 lines
821 B
Makefile
30 lines
821 B
Makefile
################################################################################
|
|
#
|
|
# libkcapi
|
|
#
|
|
################################################################################
|
|
|
|
LIBKCAPI_VERSION = 0.14.0
|
|
LIBKCAPI_SOURCE = libkcapi-$(LIBKCAPI_VERSION).tar.xz
|
|
LIBKCAPI_SITE = http://www.chronox.de/libkcapi
|
|
LIBKCAPI_AUTORECONF = YES
|
|
LIBKCAPI_INSTALL_STAGING = YES
|
|
LIBKCAPI_LICENSE = BSD-3-Clause (library), BSD-3-Clause or GPL-2.0 (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-kcapi-hasher \
|
|
--enable-kcapi-rngapp
|
|
else
|
|
LIBKCAPI_CONF_OPTS += \
|
|
--disable-kcapi-speed \
|
|
--disable-kcapi-test \
|
|
--disable-kcapi-hasher \
|
|
--disable-kcapi-rngapp
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|