diff mbox series

[PULL,3/6] scripts/qemu-binfmt-conf: Add LoongArch to qemu_get_family()

Message ID 20220705105957.1144514-5-richard.henderson@linaro.org
State New
Headers show
Series [PULL,1/6] hw/rtc/ls7a_rtc: Drop unused inline functions | expand

Commit Message

Richard Henderson July 5, 2022, 10:59 a.m. UTC
From: Song Gao <gaosong@loongson.cn>

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>
---
 scripts/qemu-binfmt-conf.sh | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

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"
         ;;