From 28303f2f70c7d9466689236a704f8e5cae481bd7 Mon Sep 17 00:00:00 2001 From: Hongxu Jia Date: Tue, 27 Nov 2018 16:32:46 +0800 Subject: ndctl: v62 -> v63 - Upstream introduce --with-systemd to replace --with-systemd-unit-dir [86ab28b ndctl, build: Introduce --with-{bash,systemd}] It fixed previously "No package 'systemd' found" failure - Remove COMPATIBLE_HOST to build on more machines. Signed-off-by: Hongxu Jia Signed-off-by: Khem Raj --- meta-oe/recipes-core/ndctl/ndctl_git.bb | 30 ------------------------------ meta-oe/recipes-core/ndctl/ndctl_v63.bb | 29 +++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 30 deletions(-) delete mode 100644 meta-oe/recipes-core/ndctl/ndctl_git.bb create mode 100644 meta-oe/recipes-core/ndctl/ndctl_v63.bb diff --git a/meta-oe/recipes-core/ndctl/ndctl_git.bb b/meta-oe/recipes-core/ndctl/ndctl_git.bb deleted file mode 100644 index b20915f20f..0000000000 --- a/meta-oe/recipes-core/ndctl/ndctl_git.bb +++ /dev/null @@ -1,30 +0,0 @@ -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 bash-completion systemd - -# v62 -SRCREV = "11f560f4048c1d38b7011a49566871a1e8a07c94" -SRC_URI = "git://github.com/pmem/ndctl.git" - -DEPENDS = "virtual/kernel kmod udev json-c" - -PV = "v62+git${SRCPV}" -S = "${WORKDIR}/git" - -EXTRA_OECONF += "--enable-test --enable-destructive --disable-docs" - -do_configure_prepend() { - ${S}/autogen.sh -} - -SYSTEMD_SERVICE_${PN} = "ndctl-monitor.service" - -COMPATIBLE_HOST='(x86_64).*' diff --git a/meta-oe/recipes-core/ndctl/ndctl_v63.bb b/meta-oe/recipes-core/ndctl/ndctl_v63.bb new file mode 100644 index 0000000000..17f3405920 --- /dev/null +++ b/meta-oe/recipes-core/ndctl/ndctl_v63.bb @@ -0,0 +1,29 @@ +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 bash-completion systemd + +SRCREV = "cb2d678dd6d286dd96d31548c32449a8b883ae32" +SRC_URI = "git://github.com/pmem/ndctl.git" + +DEPENDS = "virtual/kernel kmod udev json-c" + +S = "${WORKDIR}/git" + +EXTRA_OECONF += "--enable-test --enable-destructive --disable-docs" + +PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','',d)}" +PACKAGECONFIG[systemd] = "--with-systemd, --without-systemd, systemd" + +do_configure_prepend() { + ${S}/autogen.sh +} + +SYSTEMD_SERVICE_${PN} = "ndctl-monitor.service" -- cgit 1.2.3-korg