mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-12 17:20:13 +00:00
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>
This commit is contained in:
committed by
Martin Jansa
parent
9566158249
commit
ba39f28596
@@ -56,8 +56,8 @@ do_install () {
|
|||||||
-C src install
|
-C src install
|
||||||
mv ${D}${bindir}/line ${D}${bindir}/lm_line
|
mv ${D}${bindir}/line ${D}${bindir}/lm_line
|
||||||
install -m 0755 ${WORKDIR}/lmbench-run ${D}${bindir}/
|
install -m 0755 ${WORKDIR}/lmbench-run ${D}${bindir}/
|
||||||
sed -i -e 's,^SHAREDIR=.*$,SHAREDIR=${datadir}/${PN},;' \
|
sed -i -e 's,^SHAREDIR=.*$,SHAREDIR=${datadir}/${BPN},;' \
|
||||||
-e 's,^BINDIR=.*$,BINDIR=${libdir}/${PN},;' \
|
-e 's,^BINDIR=.*$,BINDIR=${libdir}/${BPN},;' \
|
||||||
-e 's,^CONFIG=.*$,CONFIG=`$SCRIPTSDIR/config`,;' \
|
-e 's,^CONFIG=.*$,CONFIG=`$SCRIPTSDIR/config`,;' \
|
||||||
${D}${bindir}/lmbench-run
|
${D}${bindir}/lmbench-run
|
||||||
install -m 0755 ${S}/scripts/lmbench ${D}${bindir}
|
install -m 0755 ${S}/scripts/lmbench ${D}${bindir}
|
||||||
|
|||||||
Reference in New Issue
Block a user