On Wed, 2015-05-06 at 00:04 -0700, Khem Raj wrote: > This helps in configuring the cross compiler to have sane defaults > in case of ARM e.g. it will do the right thing for selecting hardfloat > ABI when invoked without using TOOLCHAIN_OPTIONS on cmdline. > > Signed-off-by: Khem Raj <[email protected]> > --- > meta/recipes-devtools/gcc/gcc-cross.inc | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/meta/recipes-devtools/gcc/gcc-cross.inc > b/meta/recipes-devtools/gcc/gcc-cross.inc > index 9792950..3279efb 100644 > --- a/meta/recipes-devtools/gcc/gcc-cross.inc > +++ b/meta/recipes-devtools/gcc/gcc-cross.inc > @@ -30,6 +30,8 @@ EXTRA_OECONF_PATHS = "\ > --with-build-sysroot=${STAGING_DIR_TARGET} \ > " > > +EXTRA_OECONF_GCC_FLOAT = "${@get_gcc_float_setting(bb, d)}" > + > ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_DIR_TARGET}${target_includedir}" > > do_compile () {
But we build gcc-cross-arm once. This will cause it to rebuild depending on which machine you target? Worse, it likely will now do this for all architectures, not just arm. Cheers, Richard -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
