summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/build/libc/glibc-eglibc.sh-common1
-rw-r--r--scripts/functions4
2 files changed, 5 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
diff --git a/scripts/functions b/scripts/functions
index f4b19ca..63c0423 100644
--- a/scripts/functions
+++ b/scripts/functions
@@ -993,6 +993,10 @@ CT_DoBuildTargetTuple() {
CT_ARCH_FLOAT_CFLAG="-msoft-float"
CT_ARCH_WITH_FLOAT="--with-float=soft"
;;
+ softfp)
+ CT_ARCH_FLOAT_CFLAG="-mfloat-abi=softfp"
+ CT_ARCH_WITH_FLOAT="--with-float=softfp"
+ ;;
esac
# Build the default kernel tuple part