aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorSong Gao <gaosong@loongson.cn>2022-07-05 14:59:42 +0800
committerRichard Henderson <richard.henderson@linaro.org>2022-07-05 16:17:53 +0530
commitf8d1ae82623fef4e7fb796efbaaa2ddc63594d09 (patch)
treea6c9832462720346ff679a247497fef90813ee49 /scripts
parent3517fb726741c109cae7995f9ea46f0cab6187d6 (diff)
scripts/qemu-binfmt-conf: Add LoongArch to qemu_get_family()
qemu_get_family() needs to add LoongArch support. Signed-off-by: Song Gao <gaosong@loongson.cn> Message-Id: <20220705065943.2353930-1-gaosong@loongson.cn> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/qemu-binfmt-conf.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/qemu-binfmt-conf.sh b/scripts/qemu-binfmt-conf.sh
index 1f4e2cd19d..6ef9f118d9 100755
--- a/scripts/qemu-binfmt-conf.sh
+++ b/scripts/qemu-binfmt-conf.sh
@@ -171,6 +171,9 @@ qemu_get_family() {
riscv*)
echo "riscv"
;;
+ loongarch*)
+ echo "loongarch"
+ ;;
*)
echo "$cpu"
;;