diff -r fac4018427d2 -r 19760eb7a090 scripts/build/libc/uClibc.sh --- a/scripts/build/libc/uClibc.sh Sat Aug 13 00:05:51 2011 +0200 +++ b/scripts/build/libc/uClibc.sh Mon Nov 14 18:54:37 2011 +0100 @@ -352,13 +352,15 @@ # Accomodate for old and new uClibc version, where the # way to select between hard/soft float has changed - case "${CT_ARCH_FLOAT_HW},${CT_ARCH_FLOAT_SW}" in - y,) cat <<-ENDSED + case "${CT_ARCH_FLOAT}" in + hard|softfp) + cat <<-ENDSED s/^[^_]*(HAS_FPU).*/\\1=y/ s/.*(UCLIBC_HAS_FPU).*/\\1=y/ ENDSED ;; - ,y) cat <<-ENDSED + soft) + cat <<-ENDSED s/^[^_]*(HAS_FPU).*/\\# \\1 is not set/ s/.*(UCLIBC_HAS_FPU).*/# \\1 is not set/ ENDSED