diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-07-21 20:47:34 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-07-21 20:47:34 +0100 |
commit | 1e3cb587fdf303df9aeb0b00a1a45585e18f6134 (patch) | |
tree | a35eca5f8860350c790edbcd0aa96ef4fa1200aa /eclass/kernel-install.eclass | |
parent | d3f42b1ace45210af6c1b0c1970d626d411b15e0 (diff) |
gentoo auto-resync : 21:07:2023 - 20:47:34
Diffstat (limited to 'eclass/kernel-install.eclass')
-rw-r--r-- | eclass/kernel-install.eclass | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/eclass/kernel-install.eclass b/eclass/kernel-install.eclass index 49aff35dea0d..62fbb1dab049 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 @@ -69,6 +69,7 @@ BDEPEND=" arm64? ( app-emulation/qemu[qemu_softmmu_targets_aarch64] ) ppc? ( app-emulation/qemu[qemu_softmmu_targets_ppc] ) ppc64? ( app-emulation/qemu[qemu_softmmu_targets_ppc64] ) + sparc? ( app-emulation/qemu[qemu_softmmu_targets_sparc,qemu_softmmu_targets_sparc64] ) x86? ( app-emulation/qemu[qemu_softmmu_targets_i386] ) )" @@ -150,21 +151,12 @@ kernel-install_get_qemu_arch() { x86) echo i386 ;; - arm) - echo arm - ;; + arm|ppc|ppc64|riscv|sparc|sparc64) + echo ${ARCH} + ;; arm64) echo aarch64 ;; - ppc) - echo ppc - ;; - ppc64) - echo ppc64 - ;; - riscv) - echo riscv - ;; *) die "${FUNCNAME}: unsupported ARCH=${ARCH}" ;; |