Skip to contentSkip to conversation

lmbench: use BPN instead of PN

PATCH New [email protected] 1 participant 1 message Aug 21, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lmbench: use BPN instead of PN

From: Jackie Huang <[email protected]>

Use BPN instead of PN to fix the dirs in scripts
when build with multilib.

---
 meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb +2 -2
index 67392b4..38e0d2e 100644
@@ -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}
Signature · 1 line
2.0.0