diff options
author | Sam James <sam@gentoo.org> | 2023-07-21 16:18:39 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-07-21 18:56:52 +0100 |
commit | 37cd6231a0cbb920a4dd62e4d3dcdbfa21d578c0 (patch) | |
tree | c2f64c1934cc9bebb3646fd0ab0901afc46afcf3 /eclass | |
parent | kernel-install.eclass: kernel-install_get_qemu_arch: port to sparc (diff) | |
download | gentoo-37cd6231a0cbb920a4dd62e4d3dcdbfa21d578c0.tar.gz gentoo-37cd6231a0cbb920a4dd62e4d3dcdbfa21d578c0.tar.bz2 gentoo-37cd6231a0cbb920a4dd62e4d3dcdbfa21d578c0.zip |
kernel-install.eclass: simplify case
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/kernel-install.eclass | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/eclass/kernel-install.eclass b/eclass/kernel-install.eclass index ef64bde6d414..b96caba08a3e 100644 --- a/eclass/kernel-install.eclass +++ b/eclass/kernel-install.eclass @@ -150,27 +150,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 - ;; - sparc) - echo sparc - ;; - sparc64) - echo sparc64 - ;; *) die "${FUNCNAME}: unsupported ARCH=${ARCH}" ;; |