diff options
Diffstat (limited to 'meta-oe/recipes-benchmark/lmbench')
-rw-r--r-- | meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb | 42 |
1 files changed, 21 insertions, 21 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 25d0a671d..31a110904 100644 --- a/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb +++ b/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb | |||
@@ -15,7 +15,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/lmbench/lmbench-${PV}.tgz \ | |||
15 | file://update-results-script.patch \ | 15 | file://update-results-script.patch \ |
16 | file://obey-ranlib.patch \ | 16 | file://obey-ranlib.patch \ |
17 | file://update-config-script.patch \ | 17 | file://update-config-script.patch \ |
18 | " | 18 | " |
19 | SRC_URI[md5sum] = "b3351a3294db66a72e2864a199d37cbf" | 19 | SRC_URI[md5sum] = "b3351a3294db66a72e2864a199d37cbf" |
20 | SRC_URI[sha256sum] = "cbd5777d15f44eab7666dcac418054c3c09df99826961a397d9acf43d8a2a551" | 20 | SRC_URI[sha256sum] = "cbd5777d15f44eab7666dcac418054c3c09df99826961a397d9acf43d8a2a551" |
21 | 21 | ||
@@ -24,32 +24,32 @@ EXTRA_OEMAKE = 'CC="${CC}" AR="${AR}" RANLIB="${RANLIB}" CFLAGS="${CFLAGS}" \ | |||
24 | TARGET="${TARGET_OS}" BASE="${prefix}" MANDIR="${mandir}"' | 24 | TARGET="${TARGET_OS}" BASE="${prefix}" MANDIR="${mandir}"' |
25 | 25 | ||
26 | do_configure() { | 26 | do_configure() { |
27 | : | 27 | : |
28 | } | 28 | } |
29 | 29 | ||
30 | do_compile () { | 30 | do_compile () { |
31 | . ${CONFIG_SITE} | 31 | . ${CONFIG_SITE} |
32 | if [ X"$ac_cv_uint" = X"yes" ]; then | 32 | if [ X"$ac_cv_uint" = X"yes" ]; then |
33 | CFLAGS="${CFLAGS} -DHAVE_uint" | 33 | CFLAGS="${CFLAGS} -DHAVE_uint" |
34 | fi | 34 | fi |
35 | install -d ${S}/bin/${TARGET_SYS} | 35 | install -d ${S}/bin/${TARGET_SYS} |
36 | oe_runmake -C src | 36 | oe_runmake -C src |
37 | } | 37 | } |
38 | 38 | ||
39 | do_install () { | 39 | do_install () { |
40 | install -d ${D}${localstatedir}/run/lmbench \ | 40 | install -d ${D}${localstatedir}/run/lmbench \ |
41 | ${D}${bindir} ${D}${mandir} ${D}${libdir}/lmbench \ | 41 | ${D}${bindir} ${D}${mandir} ${D}${libdir}/lmbench \ |
42 | ${D}${datadir}/lmbench/scripts | 42 | ${D}${datadir}/lmbench/scripts |
43 | oe_runmake 'BASE=${D}${prefix}' \ | 43 | oe_runmake 'BASE=${D}${prefix}' \ |
44 | -C src install | 44 | -C src install |
45 | mv ${D}${bindir}/line ${D}${bindir}/lm_line | 45 | mv ${D}${bindir}/line ${D}${bindir}/lm_line |
46 | install -m 0755 ${WORKDIR}/lmbench-run ${D}${bindir}/ | 46 | install -m 0755 ${WORKDIR}/lmbench-run ${D}${bindir}/ |
47 | sed -i -e 's,^SHAREDIR=.*$,SHAREDIR=${datadir}/${PN},;' \ | 47 | sed -i -e 's,^SHAREDIR=.*$,SHAREDIR=${datadir}/${PN},;' \ |
48 | -e 's,^BINDIR=.*$,BINDIR=${libdir}/${PN},;' \ | 48 | -e 's,^BINDIR=.*$,BINDIR=${libdir}/${PN},;' \ |
49 | -e 's,^CONFIG=.*$,CONFIG=$SHAREDIR/`$SCRIPTSDIR/config`,;' \ | 49 | -e 's,^CONFIG=.*$,CONFIG=$SHAREDIR/`$SCRIPTSDIR/config`,;' \ |
50 | ${D}${bindir}/lmbench-run | 50 | ${D}${bindir}/lmbench-run |
51 | install -m 0755 ${S}/scripts/lmbench ${D}${bindir} | 51 | install -m 0755 ${S}/scripts/lmbench ${D}${bindir} |
52 | install -m 0755 ${S}/scripts/* ${D}${datadir}/lmbench/scripts | 52 | install -m 0755 ${S}/scripts/* ${D}${datadir}/lmbench/scripts |
53 | } | 53 | } |
54 | 54 | ||
55 | RDEPENDS_${PN} = "debianutils" | 55 | RDEPENDS_${PN} = "debianutils" |