[oe] [PATCH] eglibc:

Khem Raj raj.khem at gmail.com
Fri Feb 12 20:18:12 UTC 2010


On Fri, Feb 12, 2010 at 5:05 AM, Thomas Zimmermann <ml at vdm-design.de> wrote:
> * ldd has shebang #!/bin/bash: so add bash RDEPNDS
> * add libpthread_nonshared.a to eglibc-dev, needed for building
>  multithreaded apps on the device

patch is ok.

> ---
>  recipes/eglibc/eglibc-package.bbclass |    3 ++-
>  recipes/eglibc/eglibc.inc             |    2 +-
>  2 files changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/recipes/eglibc/eglibc-package.bbclass b/recipes/eglibc/eglibc-package.bbclass
> index fcaba47..7187363 100644
> --- a/recipes/eglibc/eglibc-package.bbclass
> +++ b/recipes/eglibc/eglibc-package.bbclass
> @@ -45,10 +45,11 @@ libc_baselibs = "${base_libdir}/libcrypt*.so.* ${base_libdir}/libcrypt-*.so ${ba
>
>  FILES_${PN} = "${libc_baselibs} ${libexecdir}/* ${@base_conditional('USE_LDCONFIG', '1', '${base_sbindir}/ldconfig', '', d)}"
>  FILES_ldd = "${bindir}/ldd"
> +RDEPENDS_ldd = "bash"
>  FILES_libsegfault = "${base_libdir}/libSegFault*"
>  FILES_eglibc-extra-nss = "${base_libdir}/libnss*"
>  FILES_sln = "/sbin/sln"
> -FILES_eglibc-dev_append = " ${libdir}/*.o ${bindir}/rpcgen ${libdir}/libc_nonshared.a"
> +FILES_eglibc-dev_append = " ${libdir}/*.o ${bindir}/rpcgen ${libdir}/libc_nonshared.a ${libdir}/libpthread_nonshared.a"
>  FILES_nscd = "${sbindir}/nscd*"
>  FILES_eglibc-utils = "${bindir}/* ${sbindir}/*"
>  FILES_eglibc-gconv = "${libdir}/gconv/*"
> diff --git a/recipes/eglibc/eglibc.inc b/recipes/eglibc/eglibc.inc
> index 356b838..5c06ae6 100644
> --- a/recipes/eglibc/eglibc.inc
> +++ b/recipes/eglibc/eglibc.inc
> @@ -3,7 +3,7 @@ HOMEPAGE = "http://www.eglibc.org/home"
>  SECTION = "libs"
>  PRIORITY = "required"
>  LICENSE = "LGPL"
> -INC_PR = "r8"
> +INC_PR = "r9"
>  # nptl needs unwind support in gcc, which can't be built without glibc.
>  DEPENDS = "virtual/${TARGET_PREFIX}gcc-intermediate linux-libc-headers"
>  #this leads to circular deps, so lets not add it yet
> --
> 1.6.6.1
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>




More information about the Openembedded-devel mailing list