[oe-commits] Chen Qi : bootchart2: fix to find collector correctly in case of multilib
git at git.openembedded.org
git at git.openembedded.org
Fri Dec 5 18:01:33 UTC 2014
Module: openembedded-core.git
Branch: master
Commit: 26518bea1d6aa0e438e6492c2af70225b431d7a1
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=26518bea1d6aa0e438e6492c2af70225b431d7a1
Author: Chen Qi <Qi.Chen at windriver.com>
Date: Tue Dec 2 18:26:06 2014 +0800
bootchart2: fix to find collector correctly in case of multilib
This patch fixes the following error of being not able to find the
bootchart-collector program when using bootchart2 in multilib system.
In order for bootchartd to correctly find the collector program, we need
to set several vars while compiling.
Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/recipes-devtools/bootchart2/bootchart2_git.bb | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/meta/recipes-devtools/bootchart2/bootchart2_git.bb b/meta/recipes-devtools/bootchart2/bootchart2_git.bb
index 04fb901..5fc7211 100644
--- a/meta/recipes-devtools/bootchart2/bootchart2_git.bb
+++ b/meta/recipes-devtools/bootchart2/bootchart2_git.bb
@@ -120,6 +120,12 @@ do_compile_append_class-native () {
chmod +x ${S}/pybootchartgui
}
+do_compile_prepend () {
+ export PY_LIBDIR="${libdir}/${PYTHON_DIR}"
+ export BINDIR="${bindir}"
+ export LIBDIR="${base_libdir}"
+}
+
do_install () {
install -d ${D}${sysconfdir} # needed for -native
export PY_LIBDIR="${libdir}/${PYTHON_DIR}"
More information about the Openembedded-commits
mailing list