# HG changeset patch # User "Yann E. MORIN" # Date 1321293277 -3600 # Node ID 19760eb7a090f5898d672460e3203ea5513ccfd2 # Parent b402a49734a300e7d79648ad67f8f2bf6c868b54 libc/uClibc: use the floating-point string option in tests Signed-off-by: "Yann E. MORIN" diff -r b402a49734a3 -r 19760eb7a090 config/libc/uClibc.in --- a/config/libc/uClibc.in Mon Nov 14 18:51:20 2011 +0100 +++ b/config/libc/uClibc.in Mon Nov 14 18:54:37 2011 +0100 @@ -10,6 +10,11 @@ ## help Highly configurable, thus as feature-rich as you ## help need, without compromising for size. +if ARCH_FLOAT_SOFTFP +comment "'softfp' ABI and uClibc is not entirely tested in crosstool-NG" +comment "You may experience issues, although it should work just fine" +endif # ARCH_FLOAT_SOFTFP + choice bool prompt "uClibc version" diff -r b402a49734a3 -r 19760eb7a090 scripts/build/libc/uClibc.sh --- a/scripts/build/libc/uClibc.sh Mon Nov 14 18:51:20 2011 +0100 +++ 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