• [gentoo-dev] [PATCH 2/3] kernel-install.eclass: support loong in kernel

    From WANG Xuerui@21:1/5 to All on Sun Dec 17 13:20:02 2023
    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>
    ---
    eclass/kernel-install.eclass | 3 +++
    1 file changed, 3 insertions(+)

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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)