mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
configure: Fix cross-building for RISCV host (v5)
Update $linux_arch to keep using the shared linux-headers/asm-riscv/
include path.
Fixes: e3e477c3bc
("configure: Fix cross-building for RISCV host")
Reported-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
[rth: Missed v5, so now applying the diff between v4 and v5.]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
e3e477c3bc
commit
887cba855b
1 changed files with 3 additions and 0 deletions
3
configure
vendored
3
configure
vendored
|
@ -1726,6 +1726,9 @@ if test "$linux" = "yes" ; then
|
||||||
mips64)
|
mips64)
|
||||||
linux_arch=mips
|
linux_arch=mips
|
||||||
;;
|
;;
|
||||||
|
riscv32|riscv64)
|
||||||
|
linux_arch=riscv
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
# For most CPUs the kernel architecture name and QEMU CPU name match.
|
# For most CPUs the kernel architecture name and QEMU CPU name match.
|
||||||
linux_arch="$cpu"
|
linux_arch="$cpu"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue