diff options
author | Christopher Larson <kergoth@gmail.com> | 2013-11-27 10:50:20 -0700 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-12-05 19:48:08 +0100 |
commit | 99f52e58d13cb0a1cda03a6f75d8b3fb527f6dd2 (patch) | |
tree | 1c379ece28ada37e0a64f8c3fc004e5533ec19f9 /meta-oe | |
parent | 793c1c08cf3ac826f775cecd2e9da0361edc821d (diff) | |
download | meta-openembedded-99f52e58d13cb0a1cda03a6f75d8b3fb527f6dd2.tar.gz |
lmbench: fix the CONFIG path in lmbench-run
The 'config' script which gets run returns '../scripts/CONFIG.<machine>', so
the current value was '${datadir}/lmbench/../scripts/CONFIG.<machine>', which
is obviously not ideal. Remove the $SHAREDIR prefix, as the relative path will
work from the scripts dir where lmbench-run runs. With this, we can install
a custom CONFIG.qemux86 into ${datadir}/lmbench/scripts/, for example.
Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r-- | meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb | 2 |
1 files changed, 1 insertions, 1 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 fb8cf4f041..b4020d793c 100644 --- a/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb +++ b/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb | |||
@@ -55,7 +55,7 @@ do_install () { | |||
55 | install -m 0755 ${WORKDIR}/lmbench-run ${D}${bindir}/ | 55 | install -m 0755 ${WORKDIR}/lmbench-run ${D}${bindir}/ |
56 | sed -i -e 's,^SHAREDIR=.*$,SHAREDIR=${datadir}/${PN},;' \ | 56 | sed -i -e 's,^SHAREDIR=.*$,SHAREDIR=${datadir}/${PN},;' \ |
57 | -e 's,^BINDIR=.*$,BINDIR=${libdir}/${PN},;' \ | 57 | -e 's,^BINDIR=.*$,BINDIR=${libdir}/${PN},;' \ |
58 | -e 's,^CONFIG=.*$,CONFIG=$SHAREDIR/`$SCRIPTSDIR/config`,;' \ | 58 | -e 's,^CONFIG=.*$,CONFIG=`$SCRIPTSDIR/config`,;' \ |
59 | ${D}${bindir}/lmbench-run | 59 | ${D}${bindir}/lmbench-run |
60 | install -m 0755 ${S}/scripts/lmbench ${D}${bindir} | 60 | install -m 0755 ${S}/scripts/lmbench ${D}${bindir} |
61 | install -m 0755 ${S}/scripts/* ${D}${datadir}/lmbench/scripts | 61 | install -m 0755 ${S}/scripts/* ${D}${datadir}/lmbench/scripts |