1.1 --- a/scripts/build/libc/uClibc.sh Sat Aug 13 00:05:51 2011 +0200
1.2 +++ b/scripts/build/libc/uClibc.sh Mon Nov 14 18:54:37 2011 +0100
1.3 @@ -352,13 +352,15 @@
1.4
1.5 # Accomodate for old and new uClibc version, where the
1.6 # way to select between hard/soft float has changed
1.7 - case "${CT_ARCH_FLOAT_HW},${CT_ARCH_FLOAT_SW}" in
1.8 - y,) cat <<-ENDSED
1.9 + case "${CT_ARCH_FLOAT}" in
1.10 + hard|softfp)
1.11 + cat <<-ENDSED
1.12 s/^[^_]*(HAS_FPU).*/\\1=y/
1.13 s/.*(UCLIBC_HAS_FPU).*/\\1=y/
1.14 ENDSED
1.15 ;;
1.16 - ,y) cat <<-ENDSED
1.17 + soft)
1.18 + cat <<-ENDSED
1.19 s/^[^_]*(HAS_FPU).*/\\# \\1 is not set/
1.20 s/.*(UCLIBC_HAS_FPU).*/# \\1 is not set/
1.21 ENDSED