All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tan En De <ende.tan@linux.starfivetech.com>
To: buildroot@buildroot.org
Cc: Tan En De <ende.tan@linux.starfivetech.com>
Subject: [Buildroot] [2/3] package/libkcapi: support building kcapi-dgst application
Date: Sat, 15 Oct 2022 16:47:56 +0800	[thread overview]
Message-ID: <20221015084757.277050-3-ende.tan@linux.starfivetech.com> (raw)
In-Reply-To: <20221015084757.277050-1-ende.tan@linux.starfivetech.com>

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>
---
 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 8243f6b738..176767e338 100644
--- a/package/libkcapi/Config.in
+++ b/package/libkcapi/Config.in
@@ -28,4 +28,7 @@ config BR2_PACKAGE_LIBKCAPI_TEST
 	bool "build test program"
 	depends on BR2_USE_MMU # fork()
 
+config BR2_PACKAGE_LIBKCAPI_DGSTAPP
+	bool "build dgst application"
+
 endif
diff --git a/package/libkcapi/libkcapi.mk b/package/libkcapi/libkcapi.mk
index 30d500696b..214999ddd2 100644
--- a/package/libkcapi/libkcapi.mk
+++ b/package/libkcapi/libkcapi.mk
@@ -47,4 +47,10 @@ else
 LIBKCAPI_CONF_OPTS += --disable-kcapi-test
 endif
 
+ifeq ($(BR2_PACKAGE_LIBKCAPI_DGSTAPP),y)
+LIBKCAPI_CONF_OPTS += --enable-kcapi-dgstapp
+else
+LIBKCAPI_CONF_OPTS += --disable-kcapi-dgstapp
+endif
+
 $(eval $(autotools-package))
-- 
2.34.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  parent reply	other threads:[~2022-10-15 10:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-15  8:47 [Buildroot] [0/3] package/libkcapi: bump version to 1.4.0 and add Kconfigs Tan En De
2022-10-15  8:47 ` [Buildroot] [1/3] package/libkcapi: bump version to 1.4.0 Tan En De
2022-10-15  8:47 ` Tan En De [this message]
2022-10-15  8:47 ` [Buildroot] [3/3] package/libkcapi: support enabling lib-asym and lib-kpp Tan En De
2022-10-30 10:45 ` [Buildroot] [0/3] package/libkcapi: bump version to 1.4.0 and add Kconfigs Thomas Petazzoni via buildroot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221015084757.277050-3-ende.tan@linux.starfivetech.com \
    --to=ende.tan@linux.starfivetech.com \
    --cc=buildroot@buildroot.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.