diff options
author | Jackie Huang <jackie.huang@windriver.com> | 2014-08-20 22:21:34 -0400 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2014-08-23 13:18:06 +0200 |
commit | ba39f285969f39cdb4bc67aa9fd30579c2cfe4da (patch) | |
tree | a1b0cac15e88143b2732b8f044414a322e74215f /meta-oe/recipes-benchmark | |
parent | 956615824924543937f7f508251b5e583e308d34 (diff) | |
download | meta-openembedded-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.bb | 4 |
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 67392b480..38e0d2eb8 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 () { | |||
56 | -C src install | 56 | -C src install |
57 | mv ${D}${bindir}/line ${D}${bindir}/lm_line | 57 | mv ${D}${bindir}/line ${D}${bindir}/lm_line |
58 | install -m 0755 ${WORKDIR}/lmbench-run ${D}${bindir}/ | 58 | install -m 0755 ${WORKDIR}/lmbench-run ${D}${bindir}/ |
59 | sed -i -e 's,^SHAREDIR=.*$,SHAREDIR=${datadir}/${PN},;' \ | 59 | sed -i -e 's,^SHAREDIR=.*$,SHAREDIR=${datadir}/${BPN},;' \ |
60 | -e 's,^BINDIR=.*$,BINDIR=${libdir}/${PN},;' \ | 60 | -e 's,^BINDIR=.*$,BINDIR=${libdir}/${BPN},;' \ |
61 | -e 's,^CONFIG=.*$,CONFIG=`$SCRIPTSDIR/config`,;' \ | 61 | -e 's,^CONFIG=.*$,CONFIG=`$SCRIPTSDIR/config`,;' \ |
62 | ${D}${bindir}/lmbench-run | 62 | ${D}${bindir}/lmbench-run |
63 | install -m 0755 ${S}/scripts/lmbench ${D}${bindir} | 63 | install -m 0755 ${S}/scripts/lmbench ${D}${bindir} |