ndctl_v69.bb 1.2 KB

1234567891011121314151617181920212223242526272829303132
  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. inherit autotools-brokensep pkgconfig bash-completion systemd
  11. SRCREV = "ea62d6d53bf6f806c4841e97a370201e18446860"
  12. SRC_URI = "git://github.com/pmem/ndctl.git"
  13. DEPENDS = "kmod udev json-c keyutils"
  14. S = "${WORKDIR}/git"
  15. EXTRA_OECONF += "--enable-test --enable-destructive --disable-docs"
  16. PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','',d)}"
  17. PACKAGECONFIG[systemd] = "--with-systemd, --without-systemd, systemd"
  18. do_configure_prepend() {
  19. ${S}/autogen.sh
  20. }
  21. SYSTEMD_SERVICE_${PN} = "ndctl-monitor.service"
  22. SYSTEMD_AUTO_ENABLE_${PN} = "disable"
  23. FILES_${PN} += "${datadir}/daxctl/daxctl.conf"