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 <alistair.francis@wdc.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Alistair Francis 2025-04-10 10:28:49 +10:00 committed by Khem Raj
parent 2c1a7f9bf0
commit a3e34d2ada
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -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"