On Fri, 2023-07-21 at 13:46 +0100, Sam James wrote:
> Signed-off-by: Sam James <[email protected]>
> ---
>  eclass/kernel-install.eclass | 8 +++++++-
>  1 file changed, 7 insertions(+), 1 deletion(-)
> 
> diff --git a/eclass/kernel-install.eclass b/eclass/kernel-install.eclass
> index 49aff35dea0d2..6018abd821513 100644
> --- a/eclass/kernel-install.eclass
> +++ b/eclass/kernel-install.eclass
> @@ -1,4 +1,4 @@
> -# Copyright 2020-2022 Gentoo Authors
> +# Copyright 2020-2023 Gentoo Authors
>  # Distributed under the terms of the GNU General Public License v2
>  
>  # @ECLASS: kernel-install.eclass
> @@ -162,6 +162,12 @@ kernel-install_get_qemu_arch() {
>               ppc64)
>                       echo ppc64
>                       ;;
> +             sparc)
> +                     echo sparc
> +                     ;;
> +             sparc64)
> +                     echo sparc64
> +                     ;;
>               riscv)
>                       echo riscv
>                       ;;

I suppose I originally didn't anticipate this many "matching" arches but
perhaps it's time to add something like:

arm|ppc|ppc64|riscv|sparc|sparc64)
  echo ${ARCH}
  ;;

-- 
Best regards,
Michał Górny


Reply via email to