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>
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
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