[OE-core] [PATCH 00/17] uclibc support in oe-core v2

Khem Raj raj.khem at gmail.com
Mon Apr 25 18:54:16 UTC 2011


Here are patches needed on top of oe-core to get uclibc based images
building. It incorporates the feedback from last set of patches. On
top there is a new virtual package virtual/gettext introduced which
is preferred to be gettext but can be overridden e.g. for uclibc it
can be set to proxy-libintl and thereby getting rid of gettext in images

libintl comes from three sources glibc/eglibc, gettext, proxy-libintl
when using eglibc/glibc we chose glibc/eglibc to provide it and not gettext

but when using uclibc one could use gettext to provide it or one could choose
proxy-libintl which stubs out gettext functionality and reduces the image
size.

Virtual/gettext can be provided by gettext or proxy-libintl, when we build
uclibc systems with out NLS then we can get rid of gettext fully by selecting
proxy-libintl to provide both virtual/libintl as well as virtual/gettext

Thanks
-Khem

Pull URL: git://git.openembedded.org/openembedded-core-contrib
  Branch: kraj/uclibc
  Browse: http://git.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/uclibc

Thanks,
    Khem Raj <raj.khem at gmail.com>
---


Khem Raj (17):
  gettext.bbclass: Use _append instead of =+
  insane.bbclass: Move code to add function to tasks toward the end
  insane.bbclass: Checking for NLS too when checking gettext dependency
  autotools.bbclass: Copy gettext files only if --disable-nls is not
    set
  sstate.bbclass: Reduce SSTATE_MANIFESTS assignment to be weak
  gettext: Divide packaging into gettext-runtime and rest
  gettext_0.17.bb: PROVIDE virtual/gettext and RCONFLICT with
    proxy-libintl
  poky-default.inc: Weakly assign gettext to provide virtual/gettext
  libiconv: update from 1.9.2 -> 1.11.1
  glib-2.0: Inherit gettext should provide right libintl so remove from
    DEPENDS
  util-linux.inc: remove virtual/libintl from DEPENDS
  elfutils_0.148.bb: Fix compilation issues on uclibc
  perl_5.12.2.bb: Undefine features not found in uclibc
  xorg-lib: inherit gettext class instead of adding gettext to DEPENDS
    directly
  attr: Fix compilation on uclibc
  linux-tools.inc: Dummify do_compile_perf and do_install_perf for
    uclibc
  alsa-utils_1.0.23.bb: Fix compilation for uclibc targets

 meta/classes/autotools.bbclass                     |   19 ++--
 meta/classes/gettext.bbclass                       |   31 ++++---
 meta/classes/insane.bbclass                        |   24 +++--
 meta/classes/sstate.bbclass                        |    2 +-
 meta/conf/distro/include/poky-default.inc          |    1 +
 meta/recipes-core/gettext/gettext_0.17.bb          |   39 ++++++-
 meta/recipes-core/glib-2.0/glib-2.0/no-iconv.patch |  104 ++++++++++++++++++++
 meta/recipes-core/glib-2.0/glib-2.0_2.26.1.bb      |    4 +-
 meta/recipes-core/glib-2.0/glib-2.0_2.27.5.bb      |    5 +-
 meta/recipes-core/glib-2.0/glib.inc                |    2 +-
 meta/recipes-core/util-linux/util-linux.inc        |    6 +-
 .../elfutils/elfutils-0.148/mempcpy.patch          |   23 +++++
 meta/recipes-devtools/elfutils/elfutils_0.148.bb   |    6 +-
 .../perl/perl-5.12.2/native-ssp.patch              |   16 ---
 meta/recipes-devtools/perl/perl_5.12.2.bb          |   16 +++
 meta/recipes-graphics/xorg-lib/libxau_1.0.6.bb     |    4 +-
 meta/recipes-graphics/xorg-lib/libxdmcp_1.1.0.bb   |    4 +-
 meta/recipes-graphics/xorg-lib/xtrans_1.2.6.bb     |    3 +-
 meta/recipes-kernel/linux/linux-tools.inc          |   17 +++-
 meta/recipes-multimedia/alsa/alsa-utils_1.0.23.bb  |    9 +-
 meta/recipes-support/attr/attr.inc                 |    4 +
 meta/recipes-support/attr/ea-acl.inc               |    4 +-
 .../libiconv/libiconv-1.11.1/autoconf.patch        |   48 +++++++++
 .../shared_preloadable_libiconv_linux.patch        |   24 +++++
 meta/recipes-support/libiconv/libiconv_1.11.1.bb   |   30 ++++++
 meta/recipes-support/libiconv/libiconv_1.9.2.bb    |   21 ----
 26 files changed, 366 insertions(+), 100 deletions(-)
 create mode 100644 meta/recipes-core/glib-2.0/glib-2.0/no-iconv.patch
 create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.148/mempcpy.patch
 delete mode 100644 meta/recipes-devtools/perl/perl-5.12.2/native-ssp.patch
 create mode 100644 meta/recipes-support/libiconv/libiconv-1.11.1/autoconf.patch
 create mode 100644 meta/recipes-support/libiconv/libiconv-1.11.1/shared_preloadable_libiconv_linux.patch
 create mode 100644 meta/recipes-support/libiconv/libiconv_1.11.1.bb
 delete mode 100644 meta/recipes-support/libiconv/libiconv_1.9.2.bb

-- 
1.7.4.1





More information about the Openembedded-core mailing list