diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2018-11-27 16:32:46 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2018-11-27 11:13:37 -0800 |
commit | 28303f2f70c7d9466689236a704f8e5cae481bd7 (patch) | |
tree | 24bbf52872c1b830a8b1ad8d8b4b344031ed813a /meta-oe/recipes-core/ndctl/ndctl_v63.bb | |
parent | be16770cc47cb4b1745711c62421ebb2bef43b9a (diff) | |
download | meta-openembedded-28303f2f70c7d9466689236a704f8e5cae481bd7.tar.gz |
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 <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-core/ndctl/ndctl_v63.bb')
-rw-r--r-- | meta-oe/recipes-core/ndctl/ndctl_v63.bb | 29 |
1 files changed, 29 insertions, 0 deletions
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 000000000..17f340592 --- /dev/null +++ b/meta-oe/recipes-core/ndctl/ndctl_v63.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 bash-completion systemd | ||
12 | |||
13 | SRCREV = "cb2d678dd6d286dd96d31548c32449a8b883ae32" | ||
14 | SRC_URI = "git://github.com/pmem/ndctl.git" | ||
15 | |||
16 | DEPENDS = "virtual/kernel kmod udev json-c" | ||
17 | |||
18 | S = "${WORKDIR}/git" | ||
19 | |||
20 | EXTRA_OECONF += "--enable-test --enable-destructive --disable-docs" | ||
21 | |||
22 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','',d)}" | ||
23 | PACKAGECONFIG[systemd] = "--with-systemd, --without-systemd, systemd" | ||
24 | |||
25 | do_configure_prepend() { | ||
26 | ${S}/autogen.sh | ||
27 | } | ||
28 | |||
29 | SYSTEMD_SERVICE_${PN} = "ndctl-monitor.service" | ||