aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2018-11-18 09:08:19 -0800
committerArmin Kuster <akuster808@gmail.com>2018-11-22 11:34:18 -0700
commitcd7101c8650902168489dbe0a63519e2ab85dd63 (patch)
treef0a610ae9d06db391bf4791be64a2fd8ecb749f4
parent532303733bd9f6323dcd2464d8457db3cb693a6c (diff)
downloadmeta-openembedded-cd7101c8650902168489dbe0a63519e2ab85dd63.tar.gz
meta-openembedded-cd7101c8650902168489dbe0a63519e2ab85dd63.tar.bz2
meta-openembedded-cd7101c8650902168489dbe0a63519e2ab85dd63.zip
ndctl: fix compile issue
| 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@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-oe/recipes-core/ndctl/ndctl_git.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-oe/recipes-core/ndctl/ndctl_git.bb b/meta-oe/recipes-core/ndctl/ndctl_git.bb
index b20915f20..048f166fc 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
}