From cc1b29c1d43b412fb199d38bf5f2228ec5d8e050 Mon Sep 17 00:00:00 2001 From: WANG Xuerui Date: Fri, 15 Dec 2023 16:30:21 +0800 Subject: kernel-install.eclass: support loong in kernel-install_get_qemu_arch Right now the loong profiles in Gentoo only cover the 64-bit ISA, so we can unconditionally specify loongarch64 for QEMU. Signed-off-by: WANG Xuerui --- eclass/kernel-install.eclass | 3 +++ 1 file changed, 3 insertions(+) (limited to 'eclass') diff --git a/eclass/kernel-install.eclass b/eclass/kernel-install.eclass index 22d8ce200016..c7118a720ba6 100644 --- a/eclass/kernel-install.eclass +++ b/eclass/kernel-install.eclass @@ -167,6 +167,9 @@ kernel-install_get_qemu_arch() { arm64) echo aarch64 ;; + loong) + echo loongarch64 + ;; *) die "${FUNCNAME}: unsupported ARCH=${ARCH}" ;; -- cgit v1.2.3-65-gdbad