summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-01-20 16:38:57 +0000
committerSam James <sam@gentoo.org>2022-01-20 16:38:57 +0000
commitcaa89ab1ff4b1dc6fb24f836d2d63896c51b197d (patch)
tree857d0dda8403362a8a9ac5479c2a5ba299567390
parentsys-kernel/gentoo-kernel: fix hppa return statement (diff)
downloadgentoo-caa89ab1ff4b1dc6fb24f836d2d63896c51b197d.tar.gz
gentoo-caa89ab1ff4b1dc6fb24f836d2d63896c51b197d.tar.bz2
gentoo-caa89ab1ff4b1dc6fb24f836d2d63896c51b197d.zip
dist-kernel-utils.eclass: add hppa to dist-kernel_get_image_path()
Uses same logic as ppc/ppc64. Just adding to the case statement. Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--eclass/dist-kernel-utils.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/dist-kernel-utils.eclass b/eclass/dist-kernel-utils.eclass
index f514a3da65a9..71c96a37e642 100644
--- a/eclass/dist-kernel-utils.eclass
+++ b/eclass/dist-kernel-utils.eclass
@@ -1,4 +1,4 @@
-# Copyright 2020-2021 Gentoo Authors
+# Copyright 2020-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: dist-kernel-utils.eclass
@@ -72,7 +72,7 @@ dist-kernel_get_image_path() {
arm)
echo arch/arm/boot/zImage
;;
- ppc|ppc64)
+ hppa|ppc|ppc64)
# https://www.kernel.org/doc/html/latest/powerpc/bootwrapper.html
# ./ is required because of ${image_path%/*}
# substitutions in the code