[OE-core] gcc-configure-common: Use build time sysroot for target gcc

Marinescu, Bogdan A bogdan.a.marinescu at intel.com
Wed Jun 13 08:23:56 UTC 2012


Apologies for the double "From:" line, will resend.

On Wed, Jun 13, 2012 at 11:20 AM, Bogdan Marinescu
<bogdan.a.marinescu at intel.com> wrote:
> From: Khem Raj <raj.khem at gmail.com>
>
> From: Khem Raj <raj.khem at gmail.com>
>
> Otherwise it assumes / as sysroot on build host and starts
> searching for directories in there.
>
> Signed-off-by: Khem Raj <raj.khem at gmail.com>
> ---
> diff --git a/meta/recipes-devtools/gcc/gcc-configure-target.inc b/meta/recipes-devtools/gcc/gcc-configure-target.inc
> index 1ee7504..5bca2b7 100644
> --- a/meta/recipes-devtools/gcc/gcc-configure-target.inc
> +++ b/meta/recipes-devtools/gcc/gcc-configure-target.inc
> @@ -1,4 +1,6 @@
>  require gcc-configure-common.inc
>
>  EXTRA_OECONF_PATHS = " \
> +    --with-sysroot \
> +    --with-build-sysroot=${STAGING_DIR_TARGET} \
>     --with-gxx-include-dir=${includedir}/c++/"
> --
> cgit v0.9.0.2-39-g756e
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core




More information about the Openembedded-core mailing list