diff options
author | 2024-01-16 09:39:52 +0800 | |
---|---|---|
committer | 2024-01-19 12:28:59 +0100 | |
commit | 7ec5d7d91215815e885d2b38e62256e8fd8e2bce (patch) | |
tree | 2f0e781835249d99e5e6a346279060f412e7a303 /scripts/qapi/source.py | |
parent | MAINTAINERS: Update hw/core/cpu.c entry (diff) | |
download | qemu-7ec5d7d91215815e885d2b38e62256e8fd8e2bce.tar.xz qemu-7ec5d7d91215815e885d2b38e62256e8fd8e2bce.zip |
configure: Add linux header compile support for LoongArch
When compiling qemu with system KVM mode for LoongArch, header files
in directory linux-headers/asm-loongarch should be used firstly.
Otherwise it fails to find kvm.h on system with old glibc, since
latest kernel header files are not installed.
This patch adds linux_arch definition for LoongArch system so that
header files in directory linux-headers/asm-loongarch can be included.
Fixes: 714b03c125 ("target/loongarch: Add loongarch kvm into meson build")
Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240116013952.264474-1-maobibo@loongson.cn>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'scripts/qapi/source.py')
0 files changed, 0 insertions, 0 deletions