All of lore.kernel.org
 help / color / mirror / Atom feed
From: Khem Raj <raj.khem@gmail.com>
To: openembedded-devel@lists.openembedded.org
Cc: OpenEmbedded Devel List <openembedded-devel@openembedded.org>
Subject: Re: [RFC] Bring PREFERRED_LIBC to all distros
Date: Tue, 28 Apr 2009 13:30:09 -0700	[thread overview]
Message-ID: <20090428203009.GH26082@gmail.com> (raw)
In-Reply-To: <20090427141943.GG18788@smtp.west.cox.net>

On (27/04/09 07:19), Tom Rini wrote:
> Hey all.  I've created a new branch, trini/add-libc-overrides which does
> the following:
> - Make every distro declare PREFERRED_LIBC, either outright or
>   overridable.

may be you should call it something like SYSTEM_LIBC

> - For Angstrom/foonas have DISTROVAR ?= ${PREFERRED_LIBC},
>   PREFERRED_LIBC ?= default
> - Add conf/distro/include/{eglibc,glibc,uclibc}.inc that have:
>   - Add 'glibc' to OVERRIDES for eglibc/glibc and 'uclibc' for
>     uclibc.inc

what about klibc so some distro's use klibc too ?

>   - Default providers.
>   NOTE: ${TARGET_PREFIX} includes ${TARGET_VENDOR} so ...
> - Switch all distros to have:
>   require conf/distro/include/${PREFERED_LIBC}.inc
>   - Clean up distro-specific includes, and sane-toolchain.inc a little
>     bit by removing all of the PREFERRED_PROVIDER stuff it no longer
>     needs.
> - For glibc*.bb older than 2.5, add in some missing RPROVIDES.

OK

> 
> That last change was required so that a number of distros would parse
> without trying to build say both glibc_2.3.3 and glibc_2.9 (for
> virtual-libc-dev) when I ran bitbake -g meta-toolchain minimal-image.
> 
> The next step, once something like this goes in, would be to change all
> of the overrides that test for uclibc (or glibc) from
> linux/linux-gnueabi vs linux-uclibc/linux-uclibcgnueabi to just
> linux_glibc vs linux_uclibc.

only those two ? or one for each libc we have.

> 
> That branch has been tested with bitbake -g meta-toolchain minimal image
> for every distro for nslu2be nslu2le and beagleboard (arm/armeb/newer
> arm) before and after, and the only differences are the stuff that now
> parses thanks to the glibc changes.  I've got a loop going now with
> qemux86 db1200 and mpc8313e-rdb but don't expect any problems.  I'll be
> following up with the patches shortly.


general approach is good.

> 
> -- 
> Tom Rini
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel



  parent reply	other threads:[~2009-04-28 20:35 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-27 14:19 [RFC] Bring PREFERRED_LIBC to all distros Tom Rini
2009-04-27 14:22 ` [RFC][PATCH] All distro conf files: Use PREFERRED_LIBC to pick or set your libc Tom Rini
2009-04-27 14:23   ` [RFC][PATCH] Add distro inc files for eglibc, glibc and uclibc Tom Rini
2009-04-27 14:23     ` [RFC][PATCH] All distros: Bring in conf/distro/include/${PREFERRED_LIBC}.inc Tom Rini
2009-04-27 14:24       ` [RFC][PATCH] glibc: In various old recipes add RPROVIDES virtual-libc-dev, bump PR Tom Rini
2009-04-27 15:33 ` [RFC] Bring PREFERRED_LIBC to all distros Koen Kooi
2009-04-27 15:43   ` Tom Rini
2009-04-27 16:45     ` Koen Kooi
2009-04-27 16:51       ` Tom Rini
2009-04-27 17:32         ` Philip Balister
2009-04-27 17:36           ` Tom Rini
2009-04-27 15:35 ` Otavio Salvador
2009-04-29 16:06   ` Tom Rini
2009-04-28 20:30 ` Khem Raj [this message]
2009-04-28 20:55   ` Tom Rini
2009-04-29  5:40     ` Koen Kooi
2009-04-29 16:12 ` Tom Rini
2009-04-29 23:25   ` Leon Woestenberg
2009-05-02 19:55   ` Mike (mwester)
2009-05-03 12:29     ` Leon Woestenberg
2009-05-03 16:53       ` Tom Rini
2009-05-10 19:47         ` Tom Rini
2009-05-10 21:03           ` Koen Kooi
2009-05-10 21:51             ` Tom Rini
2009-05-10 22:27               ` Otavio Salvador
2009-05-10 22:36                 ` Tom Rini
2009-05-11  7:03                   ` Koen Kooi
2009-05-11  8:07                     ` Richard Purdie
2009-05-11  8:27                       ` Graeme Gregory

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=20090428203009.GH26082@gmail.com \
    --to=raj.khem@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=openembedded-devel@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.