summaryrefslogtreecommitdiff
path: root/scripts/build/libc
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-10-19 02:27:32 (GMT)
committerMichael Hope <michael.hope@linaro.org>2011-10-19 02:27:32 (GMT)
commit4fc56b1d14ffb5e48956dfdd0ce10cd9ac5dd6b6 (patch)
tree89a62bc3e0b18534e42db5d271571c2d105f116d /scripts/build/libc
parent67ede2f5d46768a97359f6f4ab345c76e726b2d8 (diff)
arch: add softfp support
Some architectures support a mixed hard/soft floating point, where the compiler emits hardware floating point instructions, but passes the operands in core (aka integer) registers. For example, ARM supports this mode (to come in the next changeset). Add support for softfp cross compilers to the GCC and GLIBC configuration. Needed for Ubuntu and other distros that are softfp. Signed-off-by: Michael Hope <michael.hope@linaro.org> [yann.morin.1998@anciens.enib.fr: split the original patch] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Diffstat (limited to 'scripts/build/libc')
-rw-r--r--scripts/build/libc/glibc-eglibc.sh-common1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/build/libc/glibc-eglibc.sh-common b/scripts/build/libc/glibc-eglibc.sh-common
index d306fd0..8929f5c 100644
--- a/scripts/build/libc/glibc-eglibc.sh-common
+++ b/scripts/build/libc/glibc-eglibc.sh-common
@@ -135,6 +135,7 @@ do_libc_backend() {
case "${CT_ARCH_FLOAT}" in
hard) extra_config+=("--with-fp");;
soft) extra_config+=("--without-fp");;
+ softfp) extra_config+=("--with-fp");;
esac
if [ "${CT_LIBC_DISABLE_VERSIONING}" = "y" ]; then