[oe] [PATCH] change uclibc to eglibc on comments

Khem Raj raj.khem at gmail.com
Tue Dec 22 19:53:01 UTC 2009


On Mon, Dec 21, 2009 at 6:24 PM, Guo Hongruan <camelguo at gmail.com> wrote:
> ---
>  conf/distro/minimal-eglibc.conf |   14 +++++++-------
>  conf/distro/minimal.conf        |    2 +-
>  2 files changed, 8 insertions(+), 8 deletions(-)
>
> diff --git a/conf/distro/minimal-eglibc.conf b/conf/distro/minimal-eglibc.conf
> index 5ab275b..10f271b 100644
> --- a/conf/distro/minimal-eglibc.conf
> +++ b/conf/distro/minimal-eglibc.conf
> @@ -1,7 +1,7 @@
>  #-----------------------------------------------------------------------------
>  #@TYPE: Distribution
> -#@NAME: Minimal uClibc
> -#@DESCRIPTION: uClibc based Embedded Linux Distribution Configuration (minimal)
> +#@NAME: Minimal eglibc
> +#@DESCRIPTION: eglibc based Embedded Linux Distribution Configuration (minimal)
>  #
>  #@COMMENT: This distribution configuration serves as a starting point for
>  #@COMMENT: the integration of new target platforms, machines, or distributions.
> @@ -24,13 +24,13 @@ require conf/distro/minimal.conf
>  #
>  # We get the DISTRO_FEATURES defined in minimal.conf here but
>  # however there are some features like mips -mplt support which
> -# is not supported on uclibc yet so we need to disable that
> -# feature for uclibc based distributions, therefore we redefine
> -# the DISTRO_FEATURES for minimal-uclibc and notably leave mplt
> +# is not supported on eglibc yet so we need to disable that
> +# feature for eglibc based distributions, therefore we redefine
> +# the DISTRO_FEATURES for minimal-eglibc and notably leave mplt
>  # out. Make sure that if there is a new DISTRO_FEATURE thats added
> -# to minimal.conf will not get included in minimal-uclibc.conf
> +# to minimal.conf will not get included in minimal-eglibc.conf
>  # it has to be added to the below selection if it should also be
> -# enabled for minimal-uclibc
> +# enabled for minimal-eglibc
>
>  # FEATURE SELECTION
>  #############################################################################
> diff --git a/conf/distro/minimal.conf b/conf/distro/minimal.conf
> index 00397db..d0ec876 100644
> --- a/conf/distro/minimal.conf
> +++ b/conf/distro/minimal.conf
> @@ -86,7 +86,7 @@ OVERRIDES = "local:${MACHINE}:${MACHINE_CLASS}:${DISTRO}:${TARGET_OS}:${TARGET_A
>  #############################################################################
>  # TOOLCHAIN
>  #############################################################################
> -LIBC ?= "eglibc"
> +LIBC ?= "glibc"

We have intentionally switched to use eglibc as default C library for
minimal. As you can see its a weak assignment which means
you can still override it in you local.conf but the default is to stay as it is

Thanks

-Khem




More information about the Openembedded-devel mailing list