Gentoo Archives: gentoo-mips

From: Stuart Longland <redhatter@g.o>
To: gentoo-mips@l.g.o
Subject: Re: [gentoo-mips] profiles
Date: Thu, 01 Sep 2005 14:22:47
Message-Id: 43170E99.9060907@gentoo.org
In Reply to: Re: [gentoo-mips] profiles by Stephen Bennett
Stephen Bennett wrote:
> Stuart Longland wrote: > >> So the profiles would become; >> >> >>> /usr/profiles/default-linux/mips: >>> |- be -- Big Endian Systems >>> | |- n32 \__ Profile for any 64-bit voodoo >>> | |- n64 / >>> | |- ip22 -- SGI Indy, Indigo2 (R4k), Challenge S w/ o32 >>> | | |= n32 -- importing the ../n32 voodoo >>> | | |- n64 -- importing the ../n64 voodoo >>> | | '- 2.4 -- with kernel 2.6 stuff masked (for R4600) >>> | | >>> > Profiles don't do multiple inheritance. You'll either end up duplicating > n32/n64 in all the relevant subprofiles, in which case why bother with > be/n32, or the ip22/n32 profile won't inherit from ip22/, which kinda > defeats the point, no?
That's a fly in the ointment, yes. I spose that means removing the toplevel n32 and n64 profiles. This does mean duplication of files, which is probably it's biggest downside -- but it gives us the greatest flexibility IMHO. In fact, there's an idea for profiles... why not have multiple inheritance? It'd be something to bring up with the portage devs I think, but it may have some useful features. Certainly though, at the very least, we should split according to endianness and userland. That way, CHOST and other vars can be set correctly. -- ____ _ Stuart Longland (a.k.a Redhatter) / _ \ ___ ___ __| |__ __ __ Gentoo Linux/MIPS Cobalt and Docs - (_) \ / \ ; \(__ __)/ \ / \ Developer \ // O _| / /\ \ | | | /\ | /\ | / / \ /__| / \ \ | | | \/ | \/ | (___/ \____/|_; |_| \_/ \__/ \__/ http://dev.gentoo.org/~redhatter

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-mips] profiles Stephen Bennett <spb@g.o>