1.1 --- a/config/libc/uClibc.in Mon Nov 14 18:51:20 2011 +0100
1.2 +++ b/config/libc/uClibc.in Mon Nov 14 18:54:37 2011 +0100
1.3 @@ -10,6 +10,11 @@
1.4 ## help Highly configurable, thus as feature-rich as you
1.5 ## help need, without compromising for size.
1.6
1.7 +if ARCH_FLOAT_SOFTFP
1.8 +comment "'softfp' ABI and uClibc is not entirely tested in crosstool-NG"
1.9 +comment "You may experience issues, although it should work just fine"
1.10 +endif # ARCH_FLOAT_SOFTFP
1.11 +
1.12 choice
1.13 bool
1.14 prompt "uClibc version"
2.1 --- a/scripts/build/libc/uClibc.sh Mon Nov 14 18:51:20 2011 +0100
2.2 +++ b/scripts/build/libc/uClibc.sh Mon Nov 14 18:54:37 2011 +0100
2.3 @@ -352,13 +352,15 @@
2.4
2.5 # Accomodate for old and new uClibc version, where the
2.6 # way to select between hard/soft float has changed
2.7 - case "${CT_ARCH_FLOAT_HW},${CT_ARCH_FLOAT_SW}" in
2.8 - y,) cat <<-ENDSED
2.9 + case "${CT_ARCH_FLOAT}" in
2.10 + hard|softfp)
2.11 + cat <<-ENDSED
2.12 s/^[^_]*(HAS_FPU).*/\\1=y/
2.13 s/.*(UCLIBC_HAS_FPU).*/\\1=y/
2.14 ENDSED
2.15 ;;
2.16 - ,y) cat <<-ENDSED
2.17 + soft)
2.18 + cat <<-ENDSED
2.19 s/^[^_]*(HAS_FPU).*/\\# \\1 is not set/
2.20 s/.*(UCLIBC_HAS_FPU).*/# \\1 is not set/
2.21 ENDSED