summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2015-07-13 16:43:29 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-01 21:19:43 +0100
commitcde69ef3524c37df746ed7f748ebebf8fc64b342 (patch)
tree7bb278083f964511525505be3789dd8314ad8f14
parent29495d0e8dd70e56de05a0b7e75e4cf08991855f (diff)
downloadpoky-cde69ef3524c37df746ed7f748ebebf8fc64b342.tar.gz
systemd: add PACKAGECONFIG for valgrind
Execute `bitbake valgrind && bitbake systemd -c cleansstate && bitbake systemd -c configure && bitbake valgrind -c cleansstate && bitbake systemd -c compile', and we would get the following error. src/libsystemd/sd-bus/bus-control.c: fatal error: valgrind/memcheck.h: No such file or directory. Add PACKAGECONFIG option to sovle this problem. (From OE-Core master rev: e35ee4e016fbd659c88444ab7ee8e86008984f2c) (From OE-Core rev: 5a9cf55789f030ce940b8d1c78a75147b4a2b486) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/systemd/systemd_219.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd_219.bb b/meta/recipes-core/systemd/systemd_219.bb
index e131d69fb9..83e4bce142 100644
--- a/meta/recipes-core/systemd/systemd_219.bb
+++ b/meta/recipes-core/systemd/systemd_219.bb
@@ -89,6 +89,7 @@ PACKAGECONFIG[xkbcommon] = "--enable-xkbcommon,--disable-xkbcommon,libxkbcommon"
89PACKAGECONFIG[iptc] = "--enable-libiptc,--disable-libiptc,iptables" 89PACKAGECONFIG[iptc] = "--enable-libiptc,--disable-libiptc,iptables"
90PACKAGECONFIG[ldconfig] = "--enable-ldconfig,--disable-ldconfig,," 90PACKAGECONFIG[ldconfig] = "--enable-ldconfig,--disable-ldconfig,,"
91PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux" 91PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux"
92PACKAGECONFIG[valgrind] = "ac_cv_header_valgrind_memcheck_h=yes ac_cv_header_valgrind_valgrind_h=yes ,ac_cv_header_valgrind_memcheck_h=no ac_cv_header_valgrind_valgrind_h=no ,valgrind"
92 93
93CACHED_CONFIGUREVARS += "ac_cv_path_KILL=${base_bindir}/kill" 94CACHED_CONFIGUREVARS += "ac_cv_path_KILL=${base_bindir}/kill"
94CACHED_CONFIGUREVARS += "ac_cv_path_KMOD=${base_bindir}/kmod" 95CACHED_CONFIGUREVARS += "ac_cv_path_KMOD=${base_bindir}/kmod"