aboutsummaryrefslogtreecommitdiffstats
path: root/lmbench
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-06-07 22:19:44 +0000
committerChris Larson <clarson@kergoth.com>2004-06-07 22:19:44 +0000
commit322d8d89956ec81de84ee658515d08cc1a3d0b3e (patch)
tree4e4c6cb7fec872a8bfb9431421a031c338f40fc5 /lmbench
parent89d3218d2ab540672dbc521ffbf896bb27fe5a2d (diff)
downloadopenembedded-322d8d89956ec81de84ee658515d08cc1a3d0b3e.tar.gz
Bugfixes for lmbench.. actually runs without manual hacking on the device now.
BKrev: 40c4ea00dOEabmA8qhZhd_ZVIxKowA
Diffstat (limited to 'lmbench')
-rw-r--r--lmbench/lmbench_2.0.4.oe8
1 files changed, 5 insertions, 3 deletions
diff --git a/lmbench/lmbench_2.0.4.oe b/lmbench/lmbench_2.0.4.oe
index 9d80c5830a..33bda955f2 100644
--- a/lmbench/lmbench_2.0.4.oe
+++ b/lmbench/lmbench_2.0.4.oe
@@ -28,14 +28,16 @@ do_compile () {
fi
install -d ${S}/bin/${TARGET_SYS}
oe_runmake -C src exe
- sed -i -e 's,^SHAREDIR=.*$,SHAREDIR=${D}/${datadir}/${PN},; \
- s,^BINDIR=.*$,BINDIR=${D}/${libdir}/${PN},;' ${WORKDIR}/lmbench-run
+ sed -i -e 's,^SHAREDIR=.*$,SHAREDIR=${datadir}/${PN},; \
+ s,^BINDIR=.*$,BINDIR=${libdir}/${PN},;' ${WORKDIR}/lmbench-run
}
do_install () {
oe_runmake 'PREFIX=${D}/${prefix}' \
'SHAREDIR=${D}/${datadir}/${PN}' \
'BINDIR=${D}/${libdir}/lmbench' install
- install -d ${D}/${bindir}
+ install -d ${D}/${localstatedir}/lib/lmbench/config \
+ ${D}/${localstatedir}/run/lmbench \
+ ${D}/${bindir}
install -m 0755 ${WORKDIR}/lmbench-run ${D}/${bindir}/
}