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 7EFB0158015 for ; Sun, 17 Dec 2023 12:10:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7BE722BC04B; Sun, 17 Dec 2023 12:10:05 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 37D7F2BC017 for ; Sun, 17 Dec 2023 12:10:05 +0000 (UTC) From: WANG Xuerui To: dist-kernel@gentoo.org Cc: gentoo-dev@lists.gentoo.org, WANG Xuerui Subject: [gentoo-dev] [PATCH 0/3] eclass changes for supporting dist kernel on loong Date: Sun, 17 Dec 2023 20:09:40 +0800 Message-ID: <20231217120943.831106-1-xen0n@gentoo.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Archives-Salt: 64a5ebfb-a051-407e-b520-7678b38a0331 X-Archives-Hash: 96a7a49760bb82d7d9f72acd7fedf734 Hi, In order to make dist-kernel working for loong, I've just done some preliminary work to enable builds with locally-provisioned savedconfig. Properly made and maintained defconfig (ideally, across distros that have a LoongArch port) will come later. For now, with these eclass changes and trivial ebuild additions, in the GitHub PR [1], I've been able to produce working kernels for both Loongson 3A6000 (desktop) and 3C5000L (server). Your review and comments are welcome! [1]: https://github.com/gentoo/gentoo/pull/34291 WANG Xuerui (3): dist-kernel-utils.eclass: support loong in dist-kernel_get_image_path kernel-install.eclass: support loong in kernel-install_get_qemu_arch kernel-build.eclass: fix KERNEL_EFI_ZBOOT not being probed on partially supported arches eclass/dist-kernel-utils.eclass | 7 +++++++ eclass/kernel-build.eclass | 12 ++++++------ eclass/kernel-install.eclass | 3 +++ 3 files changed, 16 insertions(+), 6 deletions(-) -- 2.43.0