From: Paul Sokolovsky <pmiscml@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [RFC] ANGSTROM_MODE -> SYSTYPE
Date: Sat, 15 Dec 2007 17:05:15 +0200 [thread overview]
Message-ID: <1846530493.20071215170515@gmail.com> (raw)
In-Reply-To: <4763B128.6050806@student.utwente.nl>
Hello Koen,
Saturday, December 15, 2007, 12:49:12 PM, you wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> Paul Sokolovsky schreef:
>> Hello Openembedded-devel,
>>
>> ANGSTROM_MODE config variable has proven to be very useful and
>> successful feature during the Angstrom evolution. IMHO, it is worth
>> generalization of its meaning and naming to become a generic
>> additional OE distro configuration parameter.
>> So, I'd like to propose
>> it to be renamed to SYSTYPE, with the description "Select particular
>> system variant of a distribution which supports such feature, e.g.,
>> underlying libc type."
> How will a user know if that flag is supported for the distro he/she
> wants to use?
How user knows which distros are available in the first place? She
goes and looks up them in configs or reads documentation. How user
knows which SYSTYPEs are supported, if any, for some distro? She does
the same regarding configs/docs reading.
> should we enhance insane.bbclass to crosscheck TARGET_OS with
> SYSTYPE_FOO for the uclibc vs glibc case? And if so, how would it check
> between glibc and eglibc?
User "input" validation is always a nice thing, but adds a bunch of
code, and OE lacks it many places anyway ;-). Well, we could solve it
in this case like this for example: Make supporting distro set
SYSTYPES_AVAILABLE, and make insane.bbclass (or maybe even
sanity.bbclass) to check that SYSTYPE value appears there.
> Having an *easier* OE-blessed way for switching C library would be nice,
> but let's make sure people don't shoot themselves in the foot by setting
> SYSTYPE_FOO with a distro that has no knowledge of it.
Switching C library in merely a particular use case of ability to
adjust an important distro parameter without formally creating another
distro [config or build area]. So useful for Angstrom, it is useless
for some deeply-embedded distro which is developed and QA solely
against uclibc. Such a distro can use SYSTYPE for some other important
parameter they want to tweak. More on this in another mail.
> regards,
> Koen
>> Obviously, it wouldn't be limited to libc type, but intended to be a
>> generic sub-parameter of a distro, it could be debug/release type,
>> size type (minimal/standard/extended), whatever. The usage idea is to
>> have standard name for such generic parameter, plus semantically it
>> should be expected that a distro allows to build different SYSTYPE's
>> side-by-side in the same build dir (like Angstrom does for libc
>> variants).
>>
>>
--
Best regards,
Paul mailto:pmiscml@gmail.com
next prev parent reply other threads:[~2007-12-15 15:04 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-15 2:39 [RFC] ANGSTROM_MODE -> SYSTYPE Paul Sokolovsky
2007-12-15 3:17 ` Khem Raj
2007-12-15 10:49 ` Koen Kooi
2007-12-15 15:05 ` Paul Sokolovsky [this message]
2007-12-15 13:26 ` Leon Woestenberg
2007-12-15 15:35 ` Paul Sokolovsky
2007-12-16 4:51 ` Rod Whitby
2007-12-16 9:36 ` Paul Sokolovsky
2007-12-20 18:38 ` Leon Woestenberg
2007-12-20 20:10 ` Paul Sokolovsky
2007-12-21 21:42 ` Leon Woestenberg
2007-12-16 20:48 ` Marcin Juszkiewicz
2007-12-16 22:31 ` Paul Sokolovsky
2007-12-16 22:58 ` Richard Purdie
2007-12-17 2:57 ` Paul Sokolovsky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1846530493.20071215170515@gmail.com \
--to=pmiscml@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.