[OE-core] [PATCH 4/5] gcc-cross-initial: Stage self sufficient fixed limits.h

Otavio Salvador otavio at ossystems.com.br
Tue Jul 24 16:54:35 UTC 2012


On Tue, Jul 24, 2012 at 12:04 PM, Khem Raj <raj.khem at gmail.com> wrote:
> --- a/meta/recipes-devtools/gcc/gcc-cross-initial.inc
> +++ b/meta/recipes-devtools/gcc/gcc-cross-initial.inc
> @@ -27,3 +27,13 @@ EXTRA_OECONF = "--with-newlib \
>  do_compile () {
>      oe_runmake all-gcc all-target-libgcc
>  }
> +# fixed limits.h infact includes the so called real limits.h
> +# which should come from libc but when we build libc-initial
> +# then bunch of configure tests include fixed limits.h which in turn
> +# includes real limits.h but this real limits.h is not staged yet
> +# so we overwirte the generated include-fixed/limits.h for gcc-cross-initial
> +# to get rid references to real limits.h
> +
> +do_install_append1() {
> +    cp gcc/include-fixed/limits.h ${D}${gcclibdir}/${TARGET_SYS}/${BINV}/include-fixed/limits.h
> +}

It'd be better to have the comment together with install_append1; not
the compile method.

-- 
Otavio Salvador                             O.S. Systems
E-mail: otavio at ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br




More information about the Openembedded-core mailing list