diff options
-rw-r--r-- | meta-oe/recipes-benchmark/lmbench/lmbench/lmbench-run | 1 | ||||
-rw-r--r-- | meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb | 5 |
2 files changed, 2 insertions, 4 deletions
diff --git a/meta-oe/recipes-benchmark/lmbench/lmbench/lmbench-run b/meta-oe/recipes-benchmark/lmbench/lmbench/lmbench-run index e904c75e4..2716bf935 100644 --- a/meta-oe/recipes-benchmark/lmbench/lmbench/lmbench-run +++ b/meta-oe/recipes-benchmark/lmbench/lmbench/lmbench-run | |||
@@ -4,7 +4,6 @@ | |||
4 | # Javier Fernandez-Sanguino. | 4 | # Javier Fernandez-Sanguino. |
5 | # Distributed under the GPL | 5 | # Distributed under the GPL |
6 | SHAREDIR=/usr/share/lmbench/ | 6 | SHAREDIR=/usr/share/lmbench/ |
7 | BINDIR=/usr/lib/lmbench/ | ||
8 | SCRIPTSDIR=$SHAREDIR/scripts | 7 | SCRIPTSDIR=$SHAREDIR/scripts |
9 | RESULTSDIR=$SHAREDIR/results | 8 | RESULTSDIR=$SHAREDIR/results |
10 | CONFIG=/var/lib/lmbench/config/`$SCRIPTSDIR/config` | 9 | CONFIG=/var/lib/lmbench/config/`$SCRIPTSDIR/config` |
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 8e6e803a8..7e20b7da6 100644 --- a/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb +++ b/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb | |||
@@ -54,7 +54,7 @@ do_compile () { | |||
54 | 54 | ||
55 | do_install () { | 55 | do_install () { |
56 | install -d ${D}${sysconfdir}/default/volatiles \ | 56 | install -d ${D}${sysconfdir}/default/volatiles \ |
57 | ${D}${bindir} ${D}${mandir} ${D}${libdir}/lmbench \ | 57 | ${D}${bindir} ${D}${mandir} \ |
58 | ${D}${datadir}/lmbench/scripts | 58 | ${D}${datadir}/lmbench/scripts |
59 | 59 | ||
60 | echo "d root root 0755 ${localstatedir}/run/${BPN} none" \ | 60 | echo "d root root 0755 ${localstatedir}/run/${BPN} none" \ |
@@ -71,7 +71,6 @@ do_install () { | |||
71 | mv ${D}${bindir}/line ${D}${bindir}/lm_line | 71 | mv ${D}${bindir}/line ${D}${bindir}/lm_line |
72 | install -m 0755 ${WORKDIR}/lmbench-run ${D}${bindir}/ | 72 | install -m 0755 ${WORKDIR}/lmbench-run ${D}${bindir}/ |
73 | sed -i -e 's,^SHAREDIR=.*$,SHAREDIR=${datadir}/${BPN},;' \ | 73 | sed -i -e 's,^SHAREDIR=.*$,SHAREDIR=${datadir}/${BPN},;' \ |
74 | -e 's,^BINDIR=.*$,BINDIR=${libdir}/${BPN},;' \ | ||
75 | -e 's,^CONFIG=.*$,CONFIG=`$SCRIPTSDIR/config`,;' \ | 74 | -e 's,^CONFIG=.*$,CONFIG=`$SCRIPTSDIR/config`,;' \ |
76 | ${D}${bindir}/lmbench-run | 75 | ${D}${bindir}/lmbench-run |
77 | install -m 0755 ${S}/scripts/lmbench ${D}${bindir} | 76 | install -m 0755 ${S}/scripts/lmbench ${D}${bindir} |
@@ -89,4 +88,4 @@ pkg_postinst_${PN} () { | |||
89 | } | 88 | } |
90 | 89 | ||
91 | RDEPENDS_${PN} = "perl" | 90 | RDEPENDS_${PN} = "perl" |
92 | FILES_${PN} += "${datadir}/lmbench ${libdir}/lmbench" | 91 | FILES_${PN} += "${datadir}/lmbench" |