From patchwork Sat Oct 15 08:47:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tan En De X-Patchwork-Id: 1690294 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=2605:bc80:3010::138; helo=smtp1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=) Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4MqKty4YQHz23k3 for ; Sat, 15 Oct 2022 21:56:26 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id EE45881DCA; Sat, 15 Oct 2022 10:56:20 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org EE45881DCA X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VEVJh9MtlyFu; Sat, 15 Oct 2022 10:56:20 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id 0B92E81D7D; Sat, 15 Oct 2022 10:56:19 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 0B92E81D7D X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 1A8281BF292 for ; Sat, 15 Oct 2022 10:56:18 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id EA76860B50 for ; Sat, 15 Oct 2022 10:56:17 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org EA76860B50 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MniPrmWRu1cL for ; Sat, 15 Oct 2022 10:56:16 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org E3C8D60A77 Received: from smtpbgsg2.qq.com (smtpbgsg2.qq.com [54.254.200.128]) by smtp3.osuosl.org (Postfix) with ESMTPS id E3C8D60A77 for ; Sat, 15 Oct 2022 10:56:15 +0000 (UTC) X-QQ-mid: bizesmtp63t1665831180tvkmlsyp Received: from pc.. ( [202.188.176.82]) by bizesmtp.qq.com (ESMTP) with id ; Sat, 15 Oct 2022 18:53:00 +0800 (CST) X-QQ-SSF: 01000000002000206000B00A0000000 X-QQ-FEAT: ERSZEewZJun5dVoIP9USDOnErcmq/z+zv7t8hirHWH7F/LfFEmfcZfhDA+jZt qcftMBZXmod9jNXl4Qe+r/X0XVteyZTdVVjq+hRYhXX4V249c4aYrpbMUG+qH1t4qBLQdyy jXs2bCSzfXxPRNZ/3z/oEDKQcpcLU3d4n4uLF5bKxxBMXV0pXcdmeBSq26m/gZETCBY53w0 GVM+hSuYIs8e7a8YpVcz8QUHeRZnnWebJ/8C09AJnc+pUMwhfnr2fi7wUlzwncv3e7TzL3E yto4PxMxYrPEVX8IWGvL9UZnbw5bRCBDcK7EioYw3RGc4Y9UGz9ecIExCaooIilu6h5Hnsr rBehkv/uFgjFvWJ+fisgTx99BkSKDyTMGCf1cijdy/tlELjgklRs+wTA/NjYnm9n0dK50Ml ixmhywS/O9M= X-QQ-GoodBg: 0 From: Tan En De To: buildroot@buildroot.org Date: Sat, 15 Oct 2022 16:47:55 +0800 Message-Id: <20221015084757.277050-2-ende.tan@linux.starfivetech.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221015084757.277050-1-ende.tan@linux.starfivetech.com> References: <20221015084757.277050-1-ende.tan@linux.starfivetech.com> MIME-Version: 1.0 X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:linux.starfivetech.com:qybglogicsvr:qybglogicsvr4 Subject: [Buildroot] [1/3] package/libkcapi: bump version to 1.4.0 X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Tan En De Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Removed patch applied upstream: https://github.com/smuellerDD/libkcapi/commit/455c4938f5822c017c7ff79dd2dca638b6410923 Signed-off-by: Tan En De --- ...f-__NR_io_getevents-when-not-defined.patch | 42 ------------------- package/libkcapi/libkcapi.hash | 4 +- package/libkcapi/libkcapi.mk | 2 +- 3 files changed, 3 insertions(+), 45 deletions(-) delete mode 100644 package/libkcapi/0001-Disable-use-of-__NR_io_getevents-when-not-defined.patch diff --git a/package/libkcapi/0001-Disable-use-of-__NR_io_getevents-when-not-defined.patch b/package/libkcapi/0001-Disable-use-of-__NR_io_getevents-when-not-defined.patch deleted file mode 100644 index 20aa75b741..0000000000 --- a/package/libkcapi/0001-Disable-use-of-__NR_io_getevents-when-not-defined.patch +++ /dev/null @@ -1,42 +0,0 @@ -From 455c4938f5822c017c7ff79dd2dca638b6410923 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Sun, 15 Nov 2020 18:05:48 -0800 -Subject: [PATCH] Disable use of __NR_io_getevents when not defined - -Architectures like riscv32 do not define this syscall, therefore return -ENOSYS on such architectures - -Upstream-Status: Pending -Signed-off-by: Khem Raj -Signed-off-by: Stephan Mueller -[Retrieved from: -https://github.com/smuellerDD/libkcapi/commit/455c4938f5822c017c7ff79dd2dca638b6410923] -Signed-off-by: Fabrice Fontaine ---- - lib/internal.h | 11 +++++++++-- - 1 file changed, 9 insertions(+), 2 deletions(-) - -diff --git a/lib/internal.h b/lib/internal.h -index 1237827..f765461 100644 ---- a/lib/internal.h -+++ b/lib/internal.h -@@ -325,10 +325,17 @@ static inline int io_submit(aio_context_t ctx, long n, struct iocb **iocb) - return syscall(__NR_io_submit, ctx, n, iocb); - } - --static inline int io_getevents(aio_context_t ctx, long min, long max, -- struct io_event *events, struct timespec *timeout) -+static inline int io_getevents(__attribute__((unused)) aio_context_t ctx, -+ __attribute__((unused)) long min, -+ __attribute__((unused)) long max, -+ __attribute__((unused)) struct io_event *events, -+ __attribute__((unused)) struct timespec *timeout) - { -+#ifdef __NR_io_getevents - return syscall(__NR_io_getevents, ctx, min, max, events, timeout); -+#else -+ return -ENOSYS; -+#endif - } - - /************************************************************ diff --git a/package/libkcapi/libkcapi.hash b/package/libkcapi/libkcapi.hash index 49b0880211..d858086408 100644 --- a/package/libkcapi/libkcapi.hash +++ b/package/libkcapi/libkcapi.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 8a08dcbb4d05ede4357cdc9d61c7f2a7f2cd96b7ce2eb41b28e45b2e378267ad libkcapi-1.1.5.tar.xz -sha256 c6b8402a68999b0f84560ab43cdf60f9ff33c4a9a8ced6a40db9d3b787ba5b4a COPYING +sha256 644b47593b3f27f08add7a8808ccdbe569a2f331d70fb8b52551e57379b917fa libkcapi-1.4.0.tar.xz +sha256 9765fad61726afb2b253db2c68153672e4178d6809667ae98141f3e90fe8645b COPYING sha256 e6d6a009505e345fe949e1310334fcb0747f28dae2856759de102ab66b722cb4 COPYING.gplv2 sha256 13aa749a5b0a454917a944ed8fffc530b784f5ead522b1aacaf4ec8aa55a6239 COPYING.bsd diff --git a/package/libkcapi/libkcapi.mk b/package/libkcapi/libkcapi.mk index 09c5c028bc..30d500696b 100644 --- a/package/libkcapi/libkcapi.mk +++ b/package/libkcapi/libkcapi.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBKCAPI_VERSION = 1.1.5 +LIBKCAPI_VERSION = 1.4.0 LIBKCAPI_SOURCE = libkcapi-$(LIBKCAPI_VERSION).tar.xz LIBKCAPI_SITE = http://www.chronox.de/libkcapi LIBKCAPI_AUTORECONF = YES From patchwork Sat Oct 15 08:47:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tan En De X-Patchwork-Id: 1690292 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=2605:bc80:3010::137; helo=smtp4.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=) Received: from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4MqKqW4bFjz23jk for ; Sat, 15 Oct 2022 21:53:27 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id A0310415FD; Sat, 15 Oct 2022 10:53:24 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org A0310415FD X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FplmAavagSaE; Sat, 15 Oct 2022 10:53:23 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id 8BEF5415F0; Sat, 15 Oct 2022 10:53:22 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 8BEF5415F0 X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id B36A41BF292 for ; Sat, 15 Oct 2022 10:53:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 8EF6140323 for ; Sat, 15 Oct 2022 10:53:10 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 8EF6140323 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id x5T7-rNUkNjC for ; Sat, 15 Oct 2022 10:53:10 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 84D05400D3 Received: from bg4.exmail.qq.com (bg4.exmail.qq.com [43.155.67.158]) by smtp2.osuosl.org (Postfix) with ESMTPS id 84D05400D3 for ; Sat, 15 Oct 2022 10:53:08 +0000 (UTC) X-QQ-mid: bizesmtp63t1665831183tvh21jmc Received: from pc.. ( [202.188.176.82]) by bizesmtp.qq.com (ESMTP) with id ; Sat, 15 Oct 2022 18:53:02 +0800 (CST) X-QQ-SSF: 01000000002000206000B00A0000000 X-QQ-FEAT: HH6/KuQOBEbux29qBZscB8qvQ1fzBGsbgXYMctgHpeNyKzCrbU4sVCUEIZ736 6da04zuSwpDYQC6wuwEEsCMZIsaXoVNplqq+O68td4wWb226CBfbuHwqb2+1sOmc8lgJpGa jxJuNkxeM6OzZIlW/ON1aXqE1nSdzBVPlyD5cCuus/+hfrxtNngjfHSrgkdHHqM5cAZZ9h/ gRxbCZ1bxWp4XPFt4uVVK5+0k9eab4D9tYAVbcR4gawnh/C/ha6F+6EjSCXIxsMOzP4B9O6 1tQeLfbhtW0R/u2opcnnDNnCgEHEC5JQTl1vm3cECup6ywRf0QcOi0a2Ip9VLTGP+oQEt9m 9cTu1KFmOsw2uQTVDBh1CoXUCrRWUNfWMjvrjaIae0sA6jzAXriYHvVRUWrwF2Wp0D29EqC X-QQ-GoodBg: 0 From: Tan En De To: buildroot@buildroot.org Date: Sat, 15 Oct 2022 16:47:56 +0800 Message-Id: <20221015084757.277050-3-ende.tan@linux.starfivetech.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221015084757.277050-1-ende.tan@linux.starfivetech.com> References: <20221015084757.277050-1-ende.tan@linux.starfivetech.com> MIME-Version: 1.0 X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:linux.starfivetech.com:qybglogicsvr:qybglogicsvr4 Subject: [Buildroot] [2/3] package/libkcapi: support building kcapi-dgst application X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Tan En De Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Just add a new Kconfig option in order to support building kcapi-dgst application. Signed-off-by: Tan En De --- 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)) From patchwork Sat Oct 15 08:47:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tan En De X-Patchwork-Id: 1690293 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=140.211.166.133; helo=smtp2.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=) Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4MqKrV5pZ9z23jk for ; Sat, 15 Oct 2022 21:54:18 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id E150F4052D; Sat, 15 Oct 2022 10:54:16 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org E150F4052D X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dA406H0PYiYy; Sat, 15 Oct 2022 10:54:16 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id 1D7AA40241; Sat, 15 Oct 2022 10:54:15 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 1D7AA40241 X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 3E1B81BF292 for ; Sat, 15 Oct 2022 10:54:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 196DC817A9 for ; Sat, 15 Oct 2022 10:54:13 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 196DC817A9 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IAaTNadtlU9C for ; Sat, 15 Oct 2022 10:54:12 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 2314381756 Received: from bg4.exmail.qq.com (bg4.exmail.qq.com [43.155.67.158]) by smtp1.osuosl.org (Postfix) with ESMTPS id 2314381756 for ; Sat, 15 Oct 2022 10:54:11 +0000 (UTC) X-QQ-mid: bizesmtp63t1665831185tzm7bqvb Received: from pc.. ( [202.188.176.82]) by bizesmtp.qq.com (ESMTP) with id ; Sat, 15 Oct 2022 18:53:04 +0800 (CST) X-QQ-SSF: 01000000002000206000B00A0000000 X-QQ-FEAT: YzZUXEAk3VPiOAbXo3YbFp+NbB4Yjgglg/IlbUJwK6in5KuBhueCLIv7tbsG7 t2QNDOYTs7ELHLfFudEevGwrg9Z52+o1GWneHtU5hy2lFBymleYtkkuE3O8GVySiaMWorEC jAuqVGW1lk7ljoNbqqtjEjE3BTi4Q9qq/f70KluUVyahH1poQXn6YfdEci5e8pHw25k6ohl Xgod1SlxN/WnHz4sUz8riDQbGtxh5Rt2AffdGF4sH6a/OiSDeOsYn1267KgqS/qaa4VM5wp bkvf5dhti0+pERcjMKCSpGelOGhcQh5pQGFi4pDab4F9hX2v0hQA8HS1oX9U+Srd88twBPW DbqNnMKChxZIvRaeUPKSKthAiZ6OUKaBz8WPSCzCRsCPjSIh+VnjXPZHuPE8Ify4CCt6mz8 X-QQ-GoodBg: 0 From: Tan En De To: buildroot@buildroot.org Date: Sat, 15 Oct 2022 16:47:57 +0800 Message-Id: <20221015084757.277050-4-ende.tan@linux.starfivetech.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221015084757.277050-1-ende.tan@linux.starfivetech.com> References: <20221015084757.277050-1-ende.tan@linux.starfivetech.com> MIME-Version: 1.0 X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:linux.starfivetech.com:qybglogicsvr:qybglogicsvr4 Subject: [Buildroot] [3/3] package/libkcapi: support enabling lib-asym and lib-kpp X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Tan En De Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Add Kconfig options to allow enabling asymmetric cipher support (--enable-lib-asym) and key protocol primitives support (--enable-lib-kpp) in library. Signed-off-by: Tan En De --- package/libkcapi/Config.in | 6 ++++++ package/libkcapi/libkcapi.mk | 12 ++++++++++++ 2 files changed, 18 insertions(+) diff --git a/package/libkcapi/Config.in b/package/libkcapi/Config.in index 176767e338..97eda31a4e 100644 --- a/package/libkcapi/Config.in +++ b/package/libkcapi/Config.in @@ -31,4 +31,10 @@ config BR2_PACKAGE_LIBKCAPI_TEST config BR2_PACKAGE_LIBKCAPI_DGSTAPP bool "build dgst application" +config BR2_PACKAGE_LIBKCAPI_ASYM + bool "enable asymmetric ciphers library functions (kernel patching required)" + +config BR2_PACKAGE_LIBKCAPI_KPP + bool "enable KPP library functions (kernel patching required)" + endif diff --git a/package/libkcapi/libkcapi.mk b/package/libkcapi/libkcapi.mk index 214999ddd2..c3b655bb35 100644 --- a/package/libkcapi/libkcapi.mk +++ b/package/libkcapi/libkcapi.mk @@ -53,4 +53,16 @@ else LIBKCAPI_CONF_OPTS += --disable-kcapi-dgstapp endif +ifeq ($(BR2_PACKAGE_LIBKCAPI_ASYM),y) +LIBKCAPI_CONF_OPTS += --enable-lib-asym +else +LIBKCAPI_CONF_OPTS += --disable-lib-asym +endif + +ifeq ($(BR2_PACKAGE_LIBKCAPI_KPP),y) +LIBKCAPI_CONF_OPTS += --enable-lib-kpp +else +LIBKCAPI_CONF_OPTS += --disable-lib-kpp +endif + $(eval $(autotools-package))