[OE-core] [PATCH] ndctl: Add the NDCTL package

Alistair Francis alistair23 at gmail.com
Mon Jul 16 22:37:31 UTC 2018


On Mon, Jul 16, 2018 at 2:20 PM, Khem Raj <raj.khem at gmail.com> wrote:
>
>
> On Mon, Jul 16, 2018 at 2:07 PM Alistair Francis <alistair.francis at wdc.com>
> wrote:
>>
>> Add the NDCTL package (the libnvdimm utility library). This is based
>> on the work from the meta-luv layer with a version bump.
>
>
> I am not sure if it is a core candidate as yet
> We can accept it into meta-oe and if it get useful for multiple
> architectures later we can propose it into oe-core

Ok, resubmitted to meta-oe.

Alistair

>
>>
>> Signed-off-by: Alistair Francis <alistair.francis at wdc.com>
>> ---
>>  meta/recipes-core/ndctl/ndctl_git.bb | 34 ++++++++++++++++++++++++++++
>>  1 file changed, 34 insertions(+)
>>  create mode 100644 meta/recipes-core/ndctl/ndctl_git.bb
>>
>> diff --git a/meta/recipes-core/ndctl/ndctl_git.bb
>> b/meta/recipes-core/ndctl/ndctl_git.bb
>> new file mode 100644
>> index 0000000000..3bf54e74bf
>> --- /dev/null
>> +++ b/meta/recipes-core/ndctl/ndctl_git.bb
>> @@ -0,0 +1,34 @@
>> +SUMMARY = "libnvdimm utility library"
>> +DESCRIPTION = "Utility library for managing the libnvdimm \
>> +(non-volatile memory device) sub-system in the Linux kernel. \
>> +The LIBNVDIMM subsystem provides support for three types of \
>> +NVDIMMs, namely,PMEM, BLK, and NVDIMM devices that can \
>> +simultaneously support both PMEM and BLK mode access."
>> +HOMEPAGE =
>> "https://git.kernel.org/cgit/linux/kernel/git/nvdimm/nvdimm.git/tree/Documentation/nvdimm/nvdimm.txt?h=libnvdimm-for-next"
>> +LICENSE = "GPLv2+"
>> +LIC_FILES_CHKSUM = "file://COPYING;md5=e66651809cac5da60c8b80e9e4e79e08"
>> +
>> +inherit autotools-brokensep pkgconfig module-base
>> +
>> +SRCREV = "0d6aeeabec9d271e08c12e4cf679b59946e20156"
>> +SRC_URI = "git://github.com/pmem/ndctl.git"
>> +
>> +DEPENDS = "virtual/kernel kmod udev json-c"
>> +
>> +PV = "v61+git${SRCPV}"
>> +S = "${WORKDIR}/git"
>> +
>> +EXTRA_OECONF += "--enable-test --enable-destructive --disable-docs"
>> +
>> +do_configure_prepend() {
>> +    ${S}/autogen.sh
>> +}
>> +
>> +do_install_append() {
>> +        install -d ${D}${bindir}
>> +        install -m 755 ${WORKDIR}/ndctl_runner ${D}${bindir}
>> +}
>> +
>> +COMPATIBLE_HOST='(x86_64).*'
>> +
>> +FILES_${PN} += "/usr/share/bash-completion/completions/ndctl"
>> --
>> 2.17.1
>>
>> --
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core at lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>



More information about the Openembedded-core mailing list