All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [git commit] package/libkcapi: support building kcapi-enc application
@ 2019-10-27 13:17 Thomas Petazzoni
  0 siblings, 0 replies; only message in thread
From: Thomas Petazzoni @ 2019-10-27 13:17 UTC (permalink / raw)
  To: buildroot

commit: https://git.buildroot.net/buildroot/commit/?id=8c5e5b66229735347b309111dc4ad6dee4b1edc3
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

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>
---
 package/libkcapi/Config.in   | 3 +++
 package/libkcapi/libkcapi.mk | 6 ++++++
 2 files changed, 9 insertions(+)

diff --git a/package/libkcapi/Config.in b/package/libkcapi/Config.in
index 1dbcdc381b..8243f6b738 100644
--- a/package/libkcapi/Config.in
+++ b/package/libkcapi/Config.in
@@ -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
diff --git a/package/libkcapi/libkcapi.mk b/package/libkcapi/libkcapi.mk
index 48d34ffc40..dceacc0016 100644
--- a/package/libkcapi/libkcapi.mk
+++ b/package/libkcapi/libkcapi.mk
@@ -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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-10-27 13:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-27 13:17 [Buildroot] [git commit] package/libkcapi: support building kcapi-enc application Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.