[oe] [meta-oe][PATCH] ndctl: fix compile issue
Armin Kuster
akuster808 at gmail.com
Sun Nov 18 17:08:19 UTC 2018
| No package 'systemd' found
| configure: error: systemd support requested but pkg-config unable to query systemd package
add PACKCONFIG to disable systemd
Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
meta-oe/recipes-core/ndctl/ndctl_git.bb | 3 +++
1 file changed, 3 insertions(+)
diff --git a/meta-oe/recipes-core/ndctl/ndctl_git.bb b/meta-oe/recipes-core/ndctl/ndctl_git.bb
index b20915f..048f166 100644
--- a/meta-oe/recipes-core/ndctl/ndctl_git.bb
+++ b/meta-oe/recipes-core/ndctl/ndctl_git.bb
@@ -21,6 +21,9 @@ S = "${WORKDIR}/git"
EXTRA_OECONF += "--enable-test --enable-destructive --disable-docs"
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[systemd] = "--with-systemd-unit-dir=${systemd_system_unitdir}, --without-systemd-unit-dir,"
+
do_configure_prepend() {
${S}/autogen.sh
}
--
2.7.4
More information about the Openembedded-devel
mailing list