summaryrefslogtreecommitdiff
path: root/recipes-benchmark/cpuburn
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2024-05-31 11:30:33 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2024-05-31 17:32:46 +0200
commit48fb6ae80a1aa5765ff420877219d8eb35b11396 (patch)
tree0e422642fa0d25006184f51dd9fc4b9f0b0c92b2 /recipes-benchmark/cpuburn
parent9f699aed67850db573ee3c51de7110fd235084c1 (diff)
recipes: cope with moved directory for unpackHEADmaster
OE master (styhead) no longer unpacks in ${WORKDIR} but rather does it in path defined by the new variable UNPACKDIR. Additionally '${S} = ${WORKDIR}' is no longer allowed and results in a parse time error. Cope with the change so that the layer builds against scarthgap and styhead. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'recipes-benchmark/cpuburn')
-rw-r--r--recipes-benchmark/cpuburn/cpuburn-a53_git.bb3
1 files changed, 1 insertions, 2 deletions
diff --git a/recipes-benchmark/cpuburn/cpuburn-a53_git.bb b/recipes-benchmark/cpuburn/cpuburn-a53_git.bb
index fe9aa24..08e02aa 100644
--- a/recipes-benchmark/cpuburn/cpuburn-a53_git.bb
+++ b/recipes-benchmark/cpuburn/cpuburn-a53_git.bb
@@ -19,8 +19,7 @@ SRC_URI[ssvb.sha256sum] = "ce42ebdc71c876a33d9f7534355ef76cefa0d00ddb19ad69cf05a
SRC_URI[ssvb53.md5sum] = "a32d75f7e1fa9afbb887bef71d89875a"
SRC_URI[ssvb53.sha256sum] = "502b3a17186da34976cb97d7ae2083a66c42cddaffc1e900a4dd23efc64d97f1"
-
-S = "${WORKDIR}"
+S = "${@d.getVar("UNPACKDIR") or '${WORKDIR}'}"
do_compile() {
${CC} ${CFLAGS} ${LDFLAGS} burn.S -o burn