Message ID | 20250410002850.435537-1-alistair.francis@wdc.com |
---|---|
State | Accepted |
Headers | show |
Series | [meta-oe] libnvme: Support keyutils and openssl by default | expand |
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"
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> --- meta-oe/recipes-support/libnvme/libnvme_1.12.bb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)