summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2014-12-02 18:26:06 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-12-31 10:18:56 +0000
commitd04fdd5f9e4ade3497368237937955c478e31fcc (patch)
tree980c631a59acaea95796118a9f9d40bedc03c782 /meta
parentb30db74cd81d9b776a33c0422d9eec4d7b74f0bb (diff)
downloadpoky-d04fdd5f9e4ade3497368237937955c478e31fcc.tar.gz
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. (From OE-Core rev: 26518bea1d6aa0e438e6492c2af70225b431d7a1) (From OE-Core rev: 87abce8dd583dfad2cf08ad24fd33980db819b0a) 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: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/bootchart2/bootchart2_git.bb6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-devtools/bootchart2/bootchart2_git.bb b/meta/recipes-devtools/bootchart2/bootchart2_git.bb
index 04fb901b68..5fc7211f79 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 () {
120 chmod +x ${S}/pybootchartgui 120 chmod +x ${S}/pybootchartgui
121} 121}
122 122
123do_compile_prepend () {
124 export PY_LIBDIR="${libdir}/${PYTHON_DIR}"
125 export BINDIR="${bindir}"
126 export LIBDIR="${base_libdir}"
127}
128
123do_install () { 129do_install () {
124 install -d ${D}${sysconfdir} # needed for -native 130 install -d ${D}${sysconfdir} # needed for -native
125 export PY_LIBDIR="${libdir}/${PYTHON_DIR}" 131 export PY_LIBDIR="${libdir}/${PYTHON_DIR}"