summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-core/ndctl/ndctl_v84.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-core/ndctl/ndctl_v84.bb')
-rw-r--r--meta-oe/recipes-core/ndctl/ndctl_v84.bb33
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-oe/recipes-core/ndctl/ndctl_v84.bb b/meta-oe/recipes-core/ndctl/ndctl_v84.bb
new file mode 100644
index 0000000000..582e90b96d
--- /dev/null
+++ b/meta-oe/recipes-core/ndctl/ndctl_v84.bb
@@ -0,0 +1,33 @@
1SUMMARY = "libnvdimm utility library"
2DESCRIPTION = "Utility library for managing the libnvdimm \
3(non-volatile memory device) sub-system in the Linux kernel. \
4The LIBNVDIMM subsystem provides support for three types of \
5NVDIMMs, namely,PMEM, BLK, and NVDIMM devices that can \
6simultaneously support both PMEM and BLK mode access."
7HOMEPAGE = "https://git.kernel.org/cgit/linux/kernel/git/nvdimm/nvdimm.git/tree/Documentation/nvdimm/nvdimm.txt?h=libnvdimm-for-next"
8LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later & MIT & CC0-1.0"
9LIC_FILES_CHKSUM = "file://COPYING;md5=74a614eac8b2657a4b8e6607421a0883"
10
11inherit meson pkgconfig bash-completion systemd
12
13SRCREV = "8ad90e54f0ff4f7291e7f21d44d769d10f24e2b6"
14SRC_URI = "git://github.com/pmem/ndctl.git;branch=main;protocol=https;tag=${PV} \
15 file://0001-include-libgen.h-for-basename.patch"
16
17UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>v\d+(\.\d+)*)"
18
19DEPENDS = "kmod udev json-c keyutils iniparser libtraceevent libtracefs"
20
21
22EXTRA_OEMESON += "-Diniparserdir=${STAGING_INCDIR}/iniparser"
23
24PACKAGECONFIG ??= "tests ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','',d)}"
25PACKAGECONFIG[systemd] = "-Dsystemd=enabled,-Dsystemd=disabled,systemd"
26PACKAGECONFIG[tests] = "-Dtest=enabled -Ddestructive=enabled, -Dtest=disabled,"
27PACKAGECONFIG[docs] = "-Ddocs=enabled -Dasciidoctor=disabled,-Ddocs=disabled, asciidoc-native xmlto-native"
28
29SYSTEMD_PACKAGES = "${@bb.utils.contains('DISTRO_FEATURES','systemd','${PN}','',d)}"
30SYSTEMD_SERVICE:${PN} = "ndctl-monitor.service daxdev-reconfigure@.service"
31SYSTEMD_AUTO_ENABLE:${PN} = "disable"
32
33FILES:${PN} += "${datadir}/daxctl/daxctl.conf ${nonarch_libdir}/systemd/system"