lmbench: use BPN instead of PN
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.
Signed-off-by Jackie Huang <[email protected]>
--- 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
@@ -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