From 4fc56b1d14ffb5e48956dfdd0ce10cd9ac5dd6b6 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Wed, 19 Oct 2011 15:27:32 +1300 Subject: 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 [yann.morin.1998@anciens.enib.fr: split the original patch] Signed-off-by: "Yann E. MORIN" --- scripts/build/libc/glibc-eglibc.sh-common | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/build') diff --git a/scripts/build/libc/glibc-eglibc.sh-common b/scripts/build/libc/glibc-eglibc.sh-common index d306fd06..8929f5c2 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 -- cgit v1.2.3