From: Chen Qi Date: Tue, 2 Dec 2014 10:16:53 +0000 (-0500) Subject: bootchart2: fix to find collector correctly in case of multilib X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d25f21723889062609cbb41db864b69e3e784f6e;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 --- diff --git a/meta/recipes-devtools/bootchart2/bootchart2_git.bb b/meta/recipes-devtools/bootchart2/bootchart2_git.bb index 04fb901b68a..5fc7211f798 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}"