diff options
| author | Alistair Francis <alistair.francis@wdc.com> | 2018-07-23 16:11:04 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2018-07-26 20:10:07 -0700 |
| commit | 95a8804cad0caed852a5bcf58475a99f1907f06f (patch) | |
| tree | a39b2e5839b9caf8bfcb4448ef066baa529e2de8 | |
| parent | b1a3f656a550c43c8e9797531fc3402542b21f6b (diff) | |
| download | meta-openembedded-95a8804cad0caed852a5bcf58475a99f1907f06f.tar.gz | |
ndctl: Add the NDCTL package
Add the NDCTL package (the libnvdimm utility library). This is based
on the work from the meta-luv layer with a version bump.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-core/ndctl/ndctl_git.bb | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-oe/recipes-core/ndctl/ndctl_git.bb b/meta-oe/recipes-core/ndctl/ndctl_git.bb new file mode 100644 index 0000000000..36f94ecfd5 --- /dev/null +++ b/meta-oe/recipes-core/ndctl/ndctl_git.bb | |||
| @@ -0,0 +1,29 @@ | |||
| 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 | ||
| 12 | |||
| 13 | SRCREV = "0d6aeeabec9d271e08c12e4cf679b59946e20156" | ||
| 14 | SRC_URI = "git://github.com/pmem/ndctl.git" | ||
| 15 | |||
| 16 | DEPENDS = "virtual/kernel kmod udev json-c" | ||
| 17 | |||
| 18 | PV = "v61+git${SRCPV}" | ||
| 19 | S = "${WORKDIR}/git" | ||
| 20 | |||
| 21 | EXTRA_OECONF += "--enable-test --enable-destructive --disable-docs" | ||
| 22 | |||
| 23 | do_configure_prepend() { | ||
| 24 | ${S}/autogen.sh | ||
| 25 | } | ||
| 26 | |||
| 27 | COMPATIBLE_HOST='(x86_64).*' | ||
| 28 | |||
| 29 | FILES_${PN} += "/usr/share/bash-completion/completions/ndctl" | ||
