mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-04-02 02:49:12 +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:
parent
9566158249
commit
ba39f28596
@ -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}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user