From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 32EBD158015 for ; Mon, 18 Dec 2023 17:21:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 604D42BC01A; Mon, 18 Dec 2023 17:21:44 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2D0272BC018 for ; Mon, 18 Dec 2023 17:21:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 01308335D72 for ; Mon, 18 Dec 2023 17:21:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5B75C1257 for ; Mon, 18 Dec 2023 17:21:41 +0000 (UTC) From: "WANG Xuerui" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "WANG Xuerui" Message-ID: <1702920049.cae637be9cec73cd394c4ac02eac80e51ab93805.xen0n@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/dist-kernel-utils.eclass X-VCS-Directories: eclass/ X-VCS-Committer: xen0n X-VCS-Committer-Name: WANG Xuerui X-VCS-Revision: cae637be9cec73cd394c4ac02eac80e51ab93805 X-VCS-Branch: master Date: Mon, 18 Dec 2023 17:21:41 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c0d47a19-f878-42ba-9f09-bb29926a0d3c X-Archives-Hash: 446bae3331f5a9f6a42628221fd2e384 commit: cae637be9cec73cd394c4ac02eac80e51ab93805 Author: WANG Xuerui gentoo org> AuthorDate: Fri Dec 15 08:28:06 2023 +0000 Commit: WANG Xuerui gentoo org> CommitDate: Mon Dec 18 17:20:49 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cae637be dist-kernel-utils.eclass: support loong in dist-kernel_get_image_path The filenames to use are taken from upstream: https://github.com/torvalds/linux/blob/v6.6/arch/loongarch/boot/Makefile. Signed-off-by: WANG Xuerui gentoo.org> eclass/dist-kernel-utils.eclass | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/eclass/dist-kernel-utils.eclass b/eclass/dist-kernel-utils.eclass index 62750d1721a2..67cb802151b2 100644 --- a/eclass/dist-kernel-utils.eclass +++ b/eclass/dist-kernel-utils.eclass @@ -87,6 +87,13 @@ dist-kernel_get_image_path() { echo arch/${ARCH}/boot/Image.gz fi ;; + loong) + if [[ ${KERNEL_EFI_ZBOOT} ]]; then + echo arch/loongarch/boot/vmlinuz.efi + else + echo arch/loongarch/boot/vmlinux.elf + fi + ;; arm) echo arch/arm/boot/zImage ;;