[OE-core] [PATCH 3/3] gcc-configure-sdk: Point sysroot to correct location

James Limbouris james at digitalmatter.com.au
Fri Oct 21 05:23:31 UTC 2011


> -----Original Message-----
> From: openembedded-core-bounces at lists.openembedded.org
> [mailto:openembedded-core-bounces at lists.openembedded.org] On Behalf Of
> Khem Raj
> Sent: Friday, 21 October 2011 1:16 PM
> To: Patches and discussions about the oe-core layer
> Subject: Re: [OE-core] [PATCH 3/3] gcc-configure-sdk: Point sysroot to correct
> location
> 
> On Thu, Oct 20, 2011 at 10:12 PM, James Limbouris
> <james at digitalmatter.com.au> wrote:
> >> -----Original Message-----
> >> From: openembedded-core-bounces at lists.openembedded.org
> >> [mailto:openembedded-core-bounces at lists.openembedded.org] On Behalf
> Of
> >> Khem Raj
> >> Sent: Friday, 21 October 2011 1:03 PM
> >> To: openembedded-core at lists.openembedded.org
> >> Subject: [OE-core] [PATCH 3/3] gcc-configure-sdk: Point sysroot to correct
> >> location
> >>
> >> Signed-off-by: Khem Raj <raj.khem at gmail.com>
> >> ---
> >>  meta/recipes-devtools/gcc/gcc-configure-sdk.inc |    2 +-
> >>  1 files changed, 1 insertions(+), 1 deletions(-)
> >>
> >> diff --git a/meta/recipes-devtools/gcc/gcc-configure-sdk.inc b/meta/recipes-
> >> devtools/gcc/gcc-configure-sdk.inc
> >> index de80870..98fd4c1 100644
> >> --- a/meta/recipes-devtools/gcc/gcc-configure-sdk.inc
> >> +++ b/meta/recipes-devtools/gcc/gcc-configure-sdk.inc
> >> @@ -7,7 +7,7 @@ USE_NLS = '${@base_conditional( "TARGET_OS", "linux-
> >> uclibceabi", "no", "", d )}'
> >>  EXTRA_OECONF_PATHS = "--with-local-
> >> prefix=${SDKPATH}/sysroots/${TARGET_SYS}${target_exec_prefix} \
> >>                        --with-gxx-include-dir=${target_includedir}/c++ \
> >>                        --with-build-time-
> >> tools=${STAGING_DIR_NATIVE}${prefix_native}/${TARGET_SYS}/bin \
> >> -                      --with-sysroot=${SDKPATH}/sysroots/${TARGET_SYS} \
> >> +                      --with-
> >> sysroot=${SDKPATH}/sysroots/${TUNE_PKGARCH}${TARGET_VENDOR}-
> >> ${TARGET_OS} \
> >>                        --with-build-sysroot=${STAGING_DIR_TARGET}"
> >>
> >>  #
> >> --
> >> 1.7.5.4
> >>
> >
> > Shouldn't --with-local-prefix be changed too? I am testing with both
> ${TARGET_SYS}'s replaced. Will post results shortly.
> 
> yes I think both places it should change
> 

Ok, I've tested with both changed, and the corresponding binutils patch, and both Qt and kernel compiles are working.

Thanks,
James



More information about the Openembedded-core mailing list