make.sh: riscv64: Emulate SiFive U54 CPU

In QEMU, some processes seem to freeze/deadlock in their futex handling
which is causing the whole build process to block.

Changing the emulated CPU seems to work around these problems.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2022-02-22 12:51:27 +00:00
committed by Peter Müller
parent 1c49332fa3
commit 68961fd252

View File

@@ -793,6 +793,11 @@ qemu_environ() {
arm*)
QEMU_CPU="${QEMU_CPU:-cortex-a9}"
env="${env} QEMU_CPU=${QEMU_CPU}"
;;
riscv64)
QEMU_CPU="${QEMU_CPU:-sifive-u54}"
env="${env} QEMU_CPU=${QEMU_CPU}"
;;
esac