From bc94e564de09b519fcd843f0d8949159453b3eec Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Mon, 14 Nov 2011 18:54:37 +0100 Subject: libc/uClibc: use the floating-point string option in tests Signed-off-by: "Yann E. MORIN" --- scripts/build/libc/uClibc.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'scripts/build/libc') diff --git a/scripts/build/libc/uClibc.sh b/scripts/build/libc/uClibc.sh index 87de6201..795c04fc 100644 --- a/scripts/build/libc/uClibc.sh +++ b/scripts/build/libc/uClibc.sh @@ -352,13 +352,15 @@ mungeuClibcConfig() { # 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 -- cgit v1.2.3