package/libkcapi: support building kcapi-dgst application

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

Signed-off-by: Tan En De <ende.tan@linux.starfivetech.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Tan En De 2022-10-15 16:47:56 +08:00 committed by Thomas Petazzoni
parent 06a9dc3528
commit 4ed6d61c03
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_DGSTAPP
bool "build dgst application"
config BR2_PACKAGE_LIBKCAPI_ENCAPP
bool "build enc application"

View File

@ -17,6 +17,12 @@ LIBKCAPI_CONF_ENV = \
ac_cv_path_XMLTO=""
LIBKCAPI_MAKE_OPTS = CPPFLAGS="$(TARGET_CPPFLAGS)"
ifeq ($(BR2_PACKAGE_LIBKCAPI_DGSTAPP),y)
LIBKCAPI_CONF_OPTS += --enable-kcapi-dgstapp
else
LIBKCAPI_CONF_OPTS += --disable-kcapi-dgstapp
endif
ifeq ($(BR2_PACKAGE_LIBKCAPI_ENCAPP),y)
LIBKCAPI_CONF_OPTS += --enable-kcapi-encapp
else