[PATCH 81/94] sys-kernel/hurd: add commentary wrt cross hacks

Sam James <[email protected]>
Newsgroups gmane.linux.gentoo.devel
Message-ID <8511734915d503efd842159c350956fb3f53fd47.1774994365.git.sam@gentoo.org>
See e244fab5adada9219d04e6b4d97d9ceeb5d17609 and 5435f2adc5e5c3b91a164cefde4944bd4f4b8b33
in gentoo.git. Also, 8c9ba7b546080ba5bad76aaa909f90d854f194cf in crossdev.git.

Signed-off-by: Sam James <[email protected]>
---
 sys-kernel/hurd/hurd-0.9_p20251029.ebuild | 3 +++
 sys-kernel/hurd/hurd-9999.ebuild          | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/sys-kernel/hurd/hurd-0.9_p20251029.ebuild b/sys-kernel/hurd/hurd-0.9_p20251029.ebuild
index 79679c537a0ee..227596d96bb5c 100644
--- a/sys-kernel/hurd/hurd-0.9_p20251029.ebuild
+++ b/sys-kernel/hurd/hurd-0.9_p20251029.ebuild
@@ -153,6 +153,9 @@ src_compile() {
 	if use headers-only ; then
 		return
 	elif is_crosspkg ; then
+		# For the crossdev-built Hurd, we need to build enough s.t.
+		# for the sysroot cross-built Hurd, its deps can be compiled
+		# first (e.g. sys-block/parted, sys-kernel/rumpkernel).
 		emake \
 			lib-subdirs="libshouldbeinlibc libihash libstore libirqhelp" \
 			prog-subdirs= \
diff --git a/sys-kernel/hurd/hurd-9999.ebuild b/sys-kernel/hurd/hurd-9999.ebuild
index 625039f09ba11..fd7d5dcc2815a 100644
--- a/sys-kernel/hurd/hurd-9999.ebuild
+++ b/sys-kernel/hurd/hurd-9999.ebuild
@@ -152,6 +152,9 @@ src_compile() {
 	if use headers-only ; then
 		return
 	elif is_crosspkg ; then
+		# For the crossdev-built Hurd, we need to build enough s.t.
+		# for the sysroot cross-built Hurd, its deps can be compiled
+		# first (e.g. sys-block/parted, sys-kernel/rumpkernel).
 		emake \
 			lib-subdirs="libshouldbeinlibc libihash libstore libirqhelp" \
 			prog-subdirs= \
-- 
2.53.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.