Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [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 module-base bash-completion systemd |
| 12 | |
| 13 | # v62 |
| 14 | SRCREV = "11f560f4048c1d38b7011a49566871a1e8a07c94" |
| 15 | SRC_URI = "git://github.com/pmem/ndctl.git" |
| 16 | |
| 17 | DEPENDS = "virtual/kernel kmod udev json-c" |
| 18 | |
| 19 | PV = "v62+git${SRCPV}" |
| 20 | S = "${WORKDIR}/git" |
| 21 | |
| 22 | EXTRA_OECONF += "--enable-test --enable-destructive --disable-docs" |
| 23 | |
| 24 | PACKAGECONFIG ??= "" |
| 25 | PACKAGECONFIG[systemd] = "--with-systemd-unit-dir=${systemd_system_unitdir}, --without-systemd-unit-dir," |
| 26 | |
| 27 | do_configure_prepend() { |
| 28 | ${S}/autogen.sh |
| 29 | } |
| 30 | |
| 31 | SYSTEMD_SERVICE_${PN} = "ndctl-monitor.service" |
| 32 | |
| 33 | COMPATIBLE_HOST='(x86_64).*' |