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:
parent
e7f32dc3c6
commit
8c5e5b6622
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user