All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC] Bring PREFERRED_LIBC to all distros
@ 2009-04-27 14:19 Tom Rini
  2009-04-27 14:22 ` [RFC][PATCH] All distro conf files: Use PREFERRED_LIBC to pick or set your libc Tom Rini
                   ` (4 more replies)
  0 siblings, 5 replies; 29+ messages in thread
From: Tom Rini @ 2009-04-27 14:19 UTC (permalink / raw)
  To: OpenEmbedded Devel List

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

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.

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.

-- 
Tom Rini



^ permalink raw reply	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2009-05-11  8:34 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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.