From: Michael Tremer Date: Tue, 22 Feb 2022 12:51:27 +0000 (+0000) Subject: make.sh: riscv64: Emulate SiFive U54 CPU X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=68961fd252fc6bb36715376e92df3ef9b2e887d8;p=people%2Fms%2Fipfire-2.x.git 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 --- diff --git a/make.sh b/make.sh index 522fe84011..1fb14c9eaa 100755 --- a/make.sh +++ b/make.sh @@ -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