diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2014-12-02 18:26:06 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-12-05 18:01:05 +0000 |
commit | 05f206d15bfe5c5693c56273185c8ccdf34ea230 (patch) | |
tree | cc0c50b2fe107725fb2401b92da1abdfb20e486c /meta | |
parent | 845fc6fdbe169649f46a237b4489d926faa257cd (diff) | |
download | ast2050-yocto-poky-05f206d15bfe5c5693c56273185c8ccdf34ea230.zip ast2050-yocto-poky-05f206d15bfe5c5693c56273185c8ccdf34ea230.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)
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>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/bootchart2/bootchart2_git.bb | 6 |
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 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}" |