diff -r 92f6149c4275 -r 075fe8e4cd18 scripts/build/libc_uClibc.sh --- a/scripts/build/libc_uClibc.sh Sat May 03 17:51:16 2008 +0000 +++ b/scripts/build/libc_uClibc.sh Wed May 14 17:39:18 2008 +0000 @@ -201,12 +201,12 @@ # way to select between hard/soft float has changed case "${CT_ARCH_FLOAT_HW},${CT_ARCH_FLOAT_SW}" in y,) cat >>"${munge_file}" <<-ENDSED -s/[^_]*(HAS_FPU).*/\\1=y/ +s/^[^_]*(HAS_FPU).*/\\1=y/ s/.*(UCLIBC_HAS_FPU).*/\\1=y/ ENDSED ;; ,y) cat >>"${munge_file}" <<-ENDSED -s/[^_]*(HAS_FPU).*/\\# \\1 is not set/ +s/^[^_]*(HAS_FPU).*/\\# \\1 is not set/ s/.*(UCLIBC_HAS_FPU).*/# \\1 is not set/ ENDSED ;;