diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-07-11 17:56:09 +0100 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-07-11 17:56:09 +0100 |
commit | 887cba855bb6ff4775256f7968409281350b568c (patch) | |
tree | db23054fffa14958cf8dc96f7a8b2c8587bfecdd /configure | |
parent | e3e477c3bca0beaf9326e0213d52ad4be804fb73 (diff) |
configure: Fix cross-building for RISCV host (v5)
Update $linux_arch to keep using the shared linux-headers/asm-riscv/
include path.
Fixes: e3e477c3bca0 ("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>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1726,6 +1726,9 @@ if test "$linux" = "yes" ; then mips64) linux_arch=mips ;; + riscv32|riscv64) + linux_arch=riscv + ;; *) # For most CPUs the kernel architecture name and QEMU CPU name match. linux_arch="$cpu" |