diff options
author | WANG Xuerui <xen0n@gentoo.org> | 2023-12-15 16:30:21 +0800 |
---|---|---|
committer | WANG Xuerui <xen0n@gentoo.org> | 2023-12-19 01:20:49 +0800 |
commit | cc1b29c1d43b412fb199d38bf5f2228ec5d8e050 (patch) | |
tree | 5feb45bf636c1499c2060958a1b44c825bde6a0f /eclass | |
parent | dist-kernel-utils.eclass: support loong in dist-kernel_get_image_path (diff) | |
download | gentoo-cc1b29c1d43b412fb199d38bf5f2228ec5d8e050.tar.gz gentoo-cc1b29c1d43b412fb199d38bf5f2228ec5d8e050.tar.bz2 gentoo-cc1b29c1d43b412fb199d38bf5f2228ec5d8e050.zip |
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 <xen0n@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/kernel-install.eclass | 3 |
1 files changed, 3 insertions, 0 deletions
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}" ;; |