mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
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:
committed by
Peter Müller
parent
1c49332fa3
commit
68961fd252
5
make.sh
5
make.sh
@@ -793,6 +793,11 @@ qemu_environ() {
|
|||||||
arm*)
|
arm*)
|
||||||
QEMU_CPU="${QEMU_CPU:-cortex-a9}"
|
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}"
|
env="${env} QEMU_CPU=${QEMU_CPU}"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|||||||
Reference in New Issue
Block a user