diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-05-14 17:39:18 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-05-14 17:39:18 (GMT) |
commit | edbd3bee455af94ce7f3cac81805f187ae53cb1e (patch) | |
tree | d5bc3fe8e00483924a9b1dcc0aa286bbf09036e5 /scripts/build | |
parent | e086c89afea5204b0d31bea8d640a621d7b49eea (diff) |
Fix building uClibc-based, soft-float toolchains by correctly setting float support in the uClibc config file.
Correctly unset float CFLAGS and configure arguments before setting them.
/trunk/scripts/build/libc_uClibc.sh | 4 2 2 0 ++--
/trunk/scripts/functions | 4 2 2 0 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
Diffstat (limited to 'scripts/build')
-rw-r--r-- | scripts/build/libc_uClibc.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/libc_uClibc.sh b/scripts/build/libc_uClibc.sh index d4cb416..1add33f 100644 --- a/scripts/build/libc_uClibc.sh +++ b/scripts/build/libc_uClibc.sh @@ -201,12 +201,12 @@ ENDSED # 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 ;; |