From a3e34d2ada9f230ca105aa36bbff2eb5484b100d Mon Sep 17 00:00:00 2001 From: Alistair Francis Date: Thu, 10 Apr 2025 10:28:49 +1000 Subject: [PATCH] libnvme: Support keyutils and openssl by default Use PACKAGECONFIG to support keyutils and openssl by default. This allows NVMe-OF connections with TLS. Signed-off-by: Alistair Francis Signed-off-by: Khem Raj --- meta-oe/recipes-support/libnvme/libnvme_1.12.bb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/meta-oe/recipes-support/libnvme/libnvme_1.12.bb b/meta-oe/recipes-support/libnvme/libnvme_1.12.bb index a80d34277f..1054f83487 100644 --- a/meta-oe/recipes-support/libnvme/libnvme_1.12.bb +++ b/meta-oe/recipes-support/libnvme/libnvme_1.12.bb @@ -20,4 +20,8 @@ S = "${WORKDIR}/git" inherit meson pkgconfig -EXTRA_OEMESON += "-Dkeyutils=disabled -Dopenssl=disabled -Dpython=disabled" +PACKAGECONFIG ??= "keyutils openssl" + +PACKAGECONFIG[keyutils] = "-Dkeyutils=enabled,-Dkeyutils=disabled,keyutils" +PACKAGECONFIG[openssl] = "-Dopenssl=enabled,-Dopenssl=disabled,openssl" +PACKAGECONFIG[python] = "-Dpython=enabled,-Dpython=disabled,python"