package/libkcapi: support building kcapi-enc application

Just add a new Kconfig option in order to support building kcapi-enc
application.

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Marcin Niestroj 2019-08-20 10:27:32 +02:00 committed by Thomas Petazzoni
parent e7f32dc3c6
commit 8c5e5b6622
2 changed files with 9 additions and 0 deletions

View File

@ -8,6 +8,9 @@ config BR2_PACKAGE_LIBKCAPI
if BR2_PACKAGE_LIBKCAPI
config BR2_PACKAGE_LIBKCAPI_ENCAPP
bool "build enc application"
config BR2_PACKAGE_LIBKCAPI_HASHER
bool "build hasher application"
depends on !BR2_STATIC_LIBS # dlfcn.h

View File

@ -16,6 +16,12 @@ LIBKCAPI_CONF_ENV = \
ac_cv_path_DB2PS="" \
ac_cv_path_XMLTO=""
ifeq ($(BR2_PACKAGE_LIBKCAPI_ENCAPP),y)
LIBKCAPI_CONF_OPTS += --enable-kcapi-encapp
else
LIBKCAPI_CONF_OPTS += --disable-kcapi-encapp
endif
ifeq ($(BR2_PACKAGE_LIBKCAPI_HASHER),y)
LIBKCAPI_CONF_OPTS += --enable-kcapi-hasher
else