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>
This commit is contained in:
Song Gao 2022-07-05 14:59:42 +08:00 committed by Richard Henderson
parent 3517fb7267
commit f8d1ae8262

View File

@ -171,6 +171,9 @@ qemu_get_family() {
riscv*)
echo "riscv"
;;
loongarch*)
echo "loongarch"
;;
*)
echo "$cpu"
;;