diff -r c4646b0c7b9d -r 39970edb42e5 scripts/build/libc/uClibc.sh --- a/scripts/build/libc/uClibc.sh Mon May 11 20:19:50 2009 +0000 +++ b/scripts/build/libc/uClibc.sh Sat Jan 09 18:30:34 2010 +0100 @@ -198,17 +198,19 @@ ENDSED # Ah. We may one day need architecture-specific handler here... - # Hack the ARM {E,O}ABI into the config file - if [ "${CT_ARCH_ARM_EABI}" = "y" ]; then - cat >>"${munge_file}" <<-ENDSED + if [ "${CT_ARCH}" = "arm" ]; then + # Hack the ARM {E,O}ABI into the config file + if [ "${CT_ARCH_ARM_EABI}" = "y" ]; then + cat >>"${munge_file}" <<-ENDSED s/.*(CONFIG_ARM_OABI).*/# \\1 is not set/ s/.*(CONFIG_ARM_EABI).*/\\1=y/ ENDSED - else - cat >>"${munge_file}" <<-ENDSED + else + cat >>"${munge_file}" <<-ENDSED s/.*(CONFIG_ARM_OABI).*/\\1=y/ s/.*(CONFIG_ARM_EABI).*/# \\1 is not set/ ENDSED + fi fi # Accomodate for old and new uClibc versions, where the