Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 1 | SUMMARY = "libnvdimm utility library" |
| 2 | DESCRIPTION = "Utility library for managing the libnvdimm \ |
| 3 | (non-volatile memory device) sub-system in the Linux kernel. \ |
| 4 | The LIBNVDIMM subsystem provides support for three types of \ |
| 5 | NVDIMMs, namely,PMEM, BLK, and NVDIMM devices that can \ |
| 6 | simultaneously support both PMEM and BLK mode access." |
| 7 | HOMEPAGE = "https://git.kernel.org/cgit/linux/kernel/git/nvdimm/nvdimm.git/tree/Documentation/nvdimm/nvdimm.txt?h=libnvdimm-for-next" |
| 8 | LICENSE = "GPLv2+" |
| 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=e66651809cac5da60c8b80e9e4e79e08" |
| 10 | |
| 11 | inherit autotools-brokensep pkgconfig bash-completion systemd |
| 12 | |
Andrew Geissler | bffdb3e | 2020-08-21 16:13:29 -0500 | [diff] [blame] | 13 | SRCREV = "ea62d6d53bf6f806c4841e97a370201e18446860" |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 14 | SRC_URI = "git://github.com/pmem/ndctl.git" |
| 15 | |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 16 | DEPENDS = "kmod udev json-c keyutils" |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 17 | |
| 18 | S = "${WORKDIR}/git" |
| 19 | |
| 20 | EXTRA_OECONF += "--enable-test --enable-destructive --disable-docs" |
| 21 | |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 22 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','',d)}" |
| 23 | PACKAGECONFIG[systemd] = "--with-systemd, --without-systemd, systemd" |
| 24 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame^] | 25 | do_configure:prepend() { |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 26 | ${S}/autogen.sh |
| 27 | } |
| 28 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame^] | 29 | SYSTEMD_SERVICE:${PN} = "ndctl-monitor.service" |
| 30 | SYSTEMD_AUTO_ENABLE:${PN} = "disable" |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 31 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame^] | 32 | FILES:${PN} += "${datadir}/daxctl/daxctl.conf" |