mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-17 04:37:19 +00:00
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>
This commit is contained in:
@@ -10,21 +10,20 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=e66651809cac5da60c8b80e9e4e79e08"
|
|||||||
|
|
||||||
inherit autotools-brokensep pkgconfig module-base bash-completion systemd
|
inherit autotools-brokensep pkgconfig module-base bash-completion systemd
|
||||||
|
|
||||||
# v62
|
SRCREV = "cb2d678dd6d286dd96d31548c32449a8b883ae32"
|
||||||
SRCREV = "11f560f4048c1d38b7011a49566871a1e8a07c94"
|
|
||||||
SRC_URI = "git://github.com/pmem/ndctl.git"
|
SRC_URI = "git://github.com/pmem/ndctl.git"
|
||||||
|
|
||||||
DEPENDS = "virtual/kernel kmod udev json-c"
|
DEPENDS = "virtual/kernel kmod udev json-c"
|
||||||
|
|
||||||
PV = "v62+git${SRCPV}"
|
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
EXTRA_OECONF += "--enable-test --enable-destructive --disable-docs"
|
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() {
|
do_configure_prepend() {
|
||||||
${S}/autogen.sh
|
${S}/autogen.sh
|
||||||
}
|
}
|
||||||
|
|
||||||
SYSTEMD_SERVICE_${PN} = "ndctl-monitor.service"
|
SYSTEMD_SERVICE_${PN} = "ndctl-monitor.service"
|
||||||
|
|
||||||
COMPATIBLE_HOST='(x86_64).*'
|
|
||||||
Reference in New Issue
Block a user