summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-12 16:25:47 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-17 10:23:15 +0100
commit410990445ada8cdcfaec4e6fa5791cee9a5b8983 (patch)
tree5d5a7344245167f2a9b6c09bf0fb165c99f069af /meta/recipes-devtools/gcc/gcc-cross-intermediate.inc
parent5740696c81a9143504c1cb93e94c54add27896e4 (diff)
downloadopenembedded-core-410990445ada8cdcfaec4e6fa5791cee9a5b8983.tar.gz
openembedded-core-410990445ada8cdcfaec4e6fa5791cee9a5b8983.tar.bz2
openembedded-core-410990445ada8cdcfaec4e6fa5791cee9a5b8983.zip
crosssdk/nativesdk: Ensure EXTRA_OECONF_FPU is unset
If EXTRA_OECONF_FPU is left set, certain ARM variables related to hard-float can get pulled in and trigger rebuilds of the crosssdk code. The best solution is to simply force the variable to a known correct value for the SDK targets currently supported in the same way as TARGET_FPU. There is some slight rearrangement of the gcc code to ensure the variable is always used to call the fpu function. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-cross-intermediate.inc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross-intermediate.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc b/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc
index c940e549c5..e06926d6e1 100644
--- a/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc
+++ b/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc
@@ -23,7 +23,7 @@ EXTRA_OECONF = "--enable-shared \
--with-sysroot=${STAGING_DIR_TCBOOTSTRAP} \
--with-build-sysroot=${STAGING_DIR_TCBOOTSTRAP} \
${EXTRA_OECONF_INTERMEDIATE} \
- ${@get_gcc_fpu_setting(bb, d)} \
+ ${EXTRA_OECONF_FPU} \
${@base_contains('DISTRO_FEATURES', 'ld-is-gold', '--with-ld=${STAGING_BINDIR_TOOLCHAIN}/${TARGET_PREFIX}ld.bfd', '', d)}"
do_populate_sysroot[sstate-inputdirs] = "${SYSROOT_DESTDIR}/${STAGING_DIR_HOST} ${SYSROOT_DESTDIR}/${STAGING_DIR_TARGET}/${target_base_libdir}"