[OE-core] [PATCH 2/3] glibc: ignore for musl/uclibc but only for target recipes

Khem Raj raj.khem at gmail.com
Thu May 28 04:58:07 UTC 2015


 any issues with this patch, why was it dropped from last pull request ?

On Fri, May 22, 2015 at 12:56 PM, Khem Raj <raj.khem at gmail.com> wrote:
> we still need nativesdk  or native recipes for libc to come
> from glibc, but only be ignored for target recipes types
>
> Change-Id: Ibaf8114f2aef63f1eadf493b264e78cd928535a0
> Signed-off-by: Khem Raj <raj.khem at gmail.com>
> ---
>  meta/recipes-core/glibc/glibc-collateral.inc | 3 +++
>  meta/recipes-core/glibc/glibc_2.21.bb        | 9 +++------
>  2 files changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/meta/recipes-core/glibc/glibc-collateral.inc b/meta/recipes-core/glibc/glibc-collateral.inc
> index f82db06..60655eb 100644
> --- a/meta/recipes-core/glibc/glibc-collateral.inc
> +++ b/meta/recipes-core/glibc/glibc-collateral.inc
> @@ -17,3 +17,6 @@ do_compile[noexec] = "1"
>
>  do_install[depends] += "virtual/${MLPREFIX}libc:do_populate_sysroot"
>
> +COMPATIBLE_HOST_libc-musl_class-target = "null"
> +COMPATIBLE_HOST_libc-uclibc_class-target = "null"
> +
> diff --git a/meta/recipes-core/glibc/glibc_2.21.bb b/meta/recipes-core/glibc/glibc_2.21.bb
> index 0c28814..4b94cba 100644
> --- a/meta/recipes-core/glibc/glibc_2.21.bb
> +++ b/meta/recipes-core/glibc/glibc_2.21.bb
> @@ -69,14 +69,11 @@ TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}${includedir}"
>  GLIBC_BROKEN_LOCALES = " _ER _ET so_ET yn_ER sid_ET tr_TR mn_MN gez_ET gez_ER bn_BD te_IN es_CR.ISO-8859-1"
>
>  #
> -# We will skip parsing glibc when system C library selection is not glibc
> +# We will skip parsing glibc when target system C library selection is not glibc
>  # this helps in easing out parsing for non-glibc system libraries
>  #
> -python __anonymous () {
> -    if d.getVar('TCLIBC', True) != "glibc":
> -        raise bb.parse.SkipPackage("incompatible with %s C library" %
> -                                   d.getVar('TCLIBC', True))
> -}
> +COMPATIBLE_HOST_libc-musl_class-target = "null"
> +COMPATIBLE_HOST_libc-uclibc_class-target = "null"
>
>  EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \
>                  --without-cvs --disable-profile \
> --
> 2.1.4
>



More information about the Openembedded-core mailing list