[OE-core] [PATCH 2/9] tcl: Add tcl_cv_api_serial to siteinfo

Khem Raj raj.khem at gmail.com
Sat Jul 30 17:33:57 UTC 2011


On Wednesday, July 27, 2011 03:56:46 PM Tom Rini wrote:
> This comes from oe.dev which had this set for arm-linux only.  Bump PR
> since this changes how builds happen.

if you are clubbing them in right site files then this variable is for
deciding what serial API(termios or termio or sgtty) to use its not dependent 
on libc imo.

> 
> Signed-off-by: Tom Rini <tom_rini at mentor.com>
> ---
>  meta/recipes-devtools/tcltk/tcl_8.5.9.bb |    2 +-
>  meta/site/common-glibc                   |    2 ++
>  meta/site/common-uclibc                  |    3 +++
>  3 files changed, 6 insertions(+), 1 deletions(-)
> 
> diff --git a/meta/recipes-devtools/tcltk/tcl_8.5.9.bb
> b/meta/recipes-devtools/tcltk/tcl_8.5.9.bb index 12e2bd0..7dcaeb3 100644
> --- a/meta/recipes-devtools/tcltk/tcl_8.5.9.bb
> +++ b/meta/recipes-devtools/tcltk/tcl_8.5.9.bb
> @@ -11,7 +11,7 @@ LIC_FILES_CHKSUM =
> "file://../license.terms;md5=a47a9be26d03f925fc1fbd2784f27e11
> file://../win/license.terms;md5=a47a9be26d03f925fc1fbd2784f27e11 \ "
> 
> -PR = "r0"
> +PR = "r1"
> 
>  BASE_SRC_URI = "${SOURCEFORGE_MIRROR}/tcl/tcl${PV}-src.tar.gz \
>                  file://tcl-add-soname.patch"
> diff --git a/meta/site/common-glibc b/meta/site/common-glibc
> index 8cfa695..baca5f8 100644
> --- a/meta/site/common-glibc
> +++ b/meta/site/common-glibc
> @@ -69,3 +69,5 @@
> gl_cv_func_mbrtowc_null_arg=${gl_cv_func_mbrtowc_null_arg=yes}
> gl_cv_func_mbrtowc_retval=${gl_cv_func_mbrtowc_retval=yes}
>  gl_cv_func_mbrtowc_nul_retval=${gl_cv_func_mbrtowc_nul_retval=yes}
> 
> +# TCL
> +tcl_cv_api_serial=${tcl_cv_api_serial=termios}
> diff --git a/meta/site/common-uclibc b/meta/site/common-uclibc
> index 093f60e..002a559 100644
> --- a/meta/site/common-uclibc
> +++ b/meta/site/common-uclibc
> @@ -26,3 +26,6 @@
> ac_cv_have_abstract_sockets=${ac_cv_have_abstract_sockets=yes} # bash
>  bash_cv_under_sys_siglist=${bash_cv_under_sys_siglist=no}
>  bash_cv_sys_siglist=${bash_cv_sys_siglist=no}
> +
> +# TCL
> +tcl_cv_api_serial=${tcl_cv_api_serial=termios}
-- 
Khem Raj




More information about the Openembedded-core mailing list