aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-benchmark
diff options
context:
space:
mode:
authorJackie Huang <jackie.huang@windriver.com>2014-08-20 22:21:34 -0400
committerMartin Jansa <Martin.Jansa@gmail.com>2014-08-23 13:18:06 +0200
commitba39f285969f39cdb4bc67aa9fd30579c2cfe4da (patch)
treea1b0cac15e88143b2732b8f044414a322e74215f /meta-oe/recipes-benchmark
parent956615824924543937f7f508251b5e583e308d34 (diff)
downloadmeta-openembedded-contrib-ba39f285969f39cdb4bc67aa9fd30579c2cfe4da.tar.gz
lmbench: use BPN instead of PN
Use BPN instead of PN to fix the dirs in scripts when build with multilib. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-benchmark')
-rw-r--r--meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb b/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb
index 67392b4801..38e0d2eb88 100644
--- a/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb
+++ b/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb
@@ -56,8 +56,8 @@ do_install () {
-C src install
mv ${D}${bindir}/line ${D}${bindir}/lm_line
install -m 0755 ${WORKDIR}/lmbench-run ${D}${bindir}/
- sed -i -e 's,^SHAREDIR=.*$,SHAREDIR=${datadir}/${PN},;' \
- -e 's,^BINDIR=.*$,BINDIR=${libdir}/${PN},;' \
+ sed -i -e 's,^SHAREDIR=.*$,SHAREDIR=${datadir}/${BPN},;' \
+ -e 's,^BINDIR=.*$,BINDIR=${libdir}/${BPN},;' \
-e 's,^CONFIG=.*$,CONFIG=`$SCRIPTSDIR/config`,;' \
${D}${bindir}/lmbench-run
install -m 0755 ${S}/scripts/lmbench ${D}${bindir}