[oe-commits] Jackie Huang : lmbench: use BPN instead of PN

git at git.openembedded.org git at git.openembedded.org
Thu Aug 21 19:33:09 UTC 2014


Module: meta-openembedded.git
Branch: master-next
Commit: 018efa63213bb8a3afb18902e5f7b30220ee16e3
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=018efa63213bb8a3afb18902e5f7b30220ee16e3

Author: Jackie Huang <jackie.huang at windriver.com>
Date:   Wed Aug 20 22:21:34 2014 -0400

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 at windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb | 4 ++--
 1 file 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 67392b4..38e0d2e 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}



More information about the Openembedded-commits mailing list