summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2020-08-27 18:06:24 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2020-08-28 11:03:52 -0700
commit0d46cb25eaebbf93e4cc27dc3cd0851122aba249 (patch)
treeda88a38b13337094a557d56124e880d72d3e277d /eclass
parenteclass/kernel-install.eclass: restrict tests on ppc64 (for now) (diff)
downloadgentoo-0d46cb25eaebbf93e4cc27dc3cd0851122aba249.tar.gz
gentoo-0d46cb25eaebbf93e4cc27dc3cd0851122aba249.tar.bz2
gentoo-0d46cb25eaebbf93e4cc27dc3cd0851122aba249.zip
eclass/kernel-install.eclass: add ppc64 image path
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kernel-install.eclass5
1 files changed, 5 insertions, 0 deletions
diff --git a/eclass/kernel-install.eclass b/eclass/kernel-install.eclass
index a8d3d77cb6b..f834670d457 100644
--- a/eclass/kernel-install.eclass
+++ b/eclass/kernel-install.eclass
@@ -111,6 +111,11 @@ kernel-install_get_image_path() {
arm)
echo arch/arm/boot/zImage
;;
+ ppc64)
+ # ./ is required because of ${image_path%/*}
+ # substitutions in the code
+ echo ./vmlinux
+ ;;
*)
die "${FUNCNAME}: unsupported ARCH=${ARCH}"
;;