[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] configure: Add linux header compile support for LoongArch
|
From: |
Bibo Mao |
|
Subject: |
[PATCH] configure: Add linux header compile support for LoongArch |
|
Date: |
Mon, 15 Jan 2024 15:31:01 +0800 |
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.
Signed-off-by: Bibo Mao <maobibo@loongson.cn>
---
configure | 1 +
1 file changed, 1 insertion(+)
diff --git a/configure b/configure
index 21ab9a64e9..3d8e24ae01 100755
--- a/configure
+++ b/configure
@@ -445,6 +445,7 @@ case "$cpu" in
loongarch*)
cpu=loongarch64
host_arch=loongarch64
+ linux_arch=loongarch
;;
mips64*)
--
2.39.3
- [PATCH] configure: Add linux header compile support for LoongArch,
Bibo Mao <=