summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-05-08 17:14:27 +0000
committerSam James <sam@gentoo.org>2022-05-08 17:14:27 +0000
commitb5e5f6ca899453cb51095f82fd8a57df47b84737 (patch)
treec7439e34cf7f5f4a0b30de86ef15896b32ff4297 /eclass/dist-kernel-utils.eclass
parentsys-kernel/gentoo-kernel: force savedconfig for riscv (diff)
downloadgentoo-b5e5f6ca899453cb51095f82fd8a57df47b84737.tar.gz
gentoo-b5e5f6ca899453cb51095f82fd8a57df47b84737.tar.bz2
gentoo-b5e5f6ca899453cb51095f82fd8a57df47b84737.zip
dist-kernel-utils.eclass: add riscv kernel image path
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass/dist-kernel-utils.eclass')
-rw-r--r--eclass/dist-kernel-utils.eclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/eclass/dist-kernel-utils.eclass b/eclass/dist-kernel-utils.eclass
index 71c96a37e642..d192c31db273 100644
--- a/eclass/dist-kernel-utils.eclass
+++ b/eclass/dist-kernel-utils.eclass
@@ -78,6 +78,9 @@ dist-kernel_get_image_path() {
# substitutions in the code
echo ./vmlinux
;;
+ riscv)
+ echo arch/riscv/boot/Image.gz
+ ;;
*)
die "${FUNCNAME}: unsupported ARCH=${ARCH}"
;;