aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-benchmark
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2024-05-13 14:16:55 -0700
committerKhem Raj <raj.khem@gmail.com>2024-05-23 08:44:44 -0700
commitffc64e9c6fee0af7eea3466135416d011172a5e6 (patch)
treeb9effa069d9af3c63d6f3a41caff6b887450522c /meta-oe/recipes-benchmark
parenta90f89dbc7eff2ae83bab6a6676f4737c0b48a8d (diff)
downloadmeta-openembedded-contrib-ffc64e9c6fee0af7eea3466135416d011172a5e6.tar.gz
recipes: Start WORKDIR -> UNPACKDIR transition
Replace references of WORKDIR with UNPACKDIR where it makes sense to do so in preparation for changing the default value of UNPACKDIR. Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-benchmark')
-rw-r--r--meta-oe/recipes-benchmark/iozone3/iozone3_506.bb10
-rw-r--r--meta-oe/recipes-benchmark/linpack/linpack_1.0.bb2
-rw-r--r--meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb2
3 files changed, 7 insertions, 7 deletions
diff --git a/meta-oe/recipes-benchmark/iozone3/iozone3_506.bb b/meta-oe/recipes-benchmark/iozone3/iozone3_506.bb
index 5a1306b6fe..6ab1121efb 100644
--- a/meta-oe/recipes-benchmark/iozone3/iozone3_506.bb
+++ b/meta-oe/recipes-benchmark/iozone3/iozone3_506.bb
@@ -37,8 +37,8 @@ do_install() {
install -m 0755 ${S}/iozone ${D}${bindir}
install -m 0755 ${S}/fileop ${D}${bindir}
- install -m 0644 ${WORKDIR}/${BPN}_${PV}/docs/iozone.1 ${D}${mandir}/man1/
- install -m 0644 ${WORKDIR}/copyright.txt ${D}${datadir}/doc/${BPN}/
+ install -m 0644 ${S}/../../docs/iozone.1 ${D}${mandir}/man1/
+ install -m 0644 ${UNPACKDIR}/copyright.txt ${D}${datadir}/doc/${BPN}/
install -m 0644 ${S}/*.dem ${D}${datadir}/doc/${BPN}/examples
install -m 0644 ${S}/client_list ${D}${datadir}/doc/${BPN}/examples
@@ -48,9 +48,9 @@ do_install() {
install -m 0755 ${S}/gengnuplot.sh ${D}${datadir}/doc/${BPN}/examples
install -m 0755 ${S}/report.pl ${D}${datadir}/doc/${BPN}/examples
- install -m 0644 ${WORKDIR}/${BPN}_${PV}/docs/Iozone_ps.gz ${D}${datadir}/doc/${BPN}/
- install -m 0644 ${WORKDIR}/${BPN}_${PV}/docs/IOzone_msword_98.pdf ${D}${datadir}/doc/${BPN}/
- install -m 0644 ${WORKDIR}/${BPN}_${PV}/docs/Run_rules.doc ${D}${datadir}/doc/${BPN}/
+ install -m 0644 ${S}/../../docs/Iozone_ps.gz ${D}${datadir}/doc/${BPN}/
+ install -m 0644 ${S}/../../docs/IOzone_msword_98.pdf ${D}${datadir}/doc/${BPN}/
+ install -m 0644 ${S}/../../docs/Run_rules.doc ${D}${datadir}/doc/${BPN}/
}
FILES:${PN} += "${datadir}/doc/${PN}/copyright.txt"
diff --git a/meta-oe/recipes-benchmark/linpack/linpack_1.0.bb b/meta-oe/recipes-benchmark/linpack/linpack_1.0.bb
index 603004ddd5..b49951cc27 100644
--- a/meta-oe/recipes-benchmark/linpack/linpack_1.0.bb
+++ b/meta-oe/recipes-benchmark/linpack/linpack_1.0.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "LINPACK Benchmarks are a measure of a system's floating point com
SUMMARY = "LINPACK is a software library for performing numerical linear algebra on digital computers"
LICENSE = "PD"
-LIC_FILES_CHKSUM ="file://${WORKDIR}/linpacknew.c;beginline=1;endline=23;md5=aa025e3bc44190c71e4c5e3b084fed87"
+LIC_FILES_CHKSUM ="file://${UNPACKDIR}/linpacknew.c;beginline=1;endline=23;md5=aa025e3bc44190c71e4c5e3b084fed87"
SRC_URI = "http://www.netlib.org/benchmark/linpackc.new;downloadfilename=linpacknew.c \
file://0001-linpack-Define-DP-only-when-SP-is-not-defined.patch \
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 57f73eedc7..6729e81fa5 100644
--- a/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb
+++ b/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb
@@ -75,7 +75,7 @@ do_install () {
DESTDIR="${D}" \
-C src install
mv ${D}${bindir}/line ${D}${bindir}/lm_line
- install -m 0755 ${WORKDIR}/lmbench-run ${D}${bindir}/
+ install -m 0755 ${UNPACKDIR}/lmbench-run ${D}${bindir}/
install -m 0755 ${S}/bin/${TARGET_SYS}/cache ${D}${bindir}/
sed -i -e 's,^SHAREDIR=.*$,SHAREDIR=${datadir}/${BPN},;' \
-e 's,^CONFIG=.*$,CONFIG=`$SCRIPTSDIR/config`,;' \