mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-13 17:39:57 +00:00
a3e34d2ada
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>
28 lines
1.2 KiB
BlitzBasic
28 lines
1.2 KiB
BlitzBasic
SUMMARY = "libnvme development C library"
|
|
DESCRIPTION = "\
|
|
libnvme provides type definitions for NVMe specification structures, \
|
|
enumerations, and bit fields, helper functions to construct, dispatch, \
|
|
and decode commands and payloads, and utilities to connect, scan, and \
|
|
manage nvme devices on a Linux system."
|
|
HOMEPAGE = "https://github.com/linux-nvme/${BPN}"
|
|
SECTION = "libs"
|
|
LICENSE = "LGPL-2.1-only & CC0-1.0 & MIT"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \
|
|
file://ccan/licenses/CC0;md5=c17af43b05840255a6fedc5eda9d56cc \
|
|
file://ccan/licenses/BSD-MIT;md5=838c366f69b72c5df05c96dff79b35f2"
|
|
DEPENDS = "json-c"
|
|
SRCREV = "5ec1f5284ecb0eda481f3d2d61236fbc5b46164f"
|
|
|
|
SRC_URI = "git://github.com/linux-nvme/libnvme;protocol=https;branch=master \
|
|
file://0001-mock.c-fix-checking-of-HAVE_GLIBC_IOCTL.patch"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
inherit meson pkgconfig
|
|
|
|
PACKAGECONFIG ??= "keyutils openssl"
|
|
|
|
PACKAGECONFIG[keyutils] = "-Dkeyutils=enabled,-Dkeyutils=disabled,keyutils"
|
|
PACKAGECONFIG[openssl] = "-Dopenssl=enabled,-Dopenssl=disabled,openssl"
|
|
PACKAGECONFIG[python] = "-Dpython=enabled,-Dpython=disabled,python"
|