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
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