diff options
Diffstat (limited to 'lmbench/lmbench_2.0.4.oe')
-rw-r--r-- | lmbench/lmbench_2.0.4.oe | 8 |
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}/ } |