1.1 --- a/scripts/build/libc/uClibc.sh Wed Dec 30 15:38:03 2009 +0100
1.2 +++ b/scripts/build/libc/uClibc.sh Sat Jan 09 18:30:34 2010 +0100
1.3 @@ -198,17 +198,19 @@
1.4 ENDSED
1.5
1.6 # Ah. We may one day need architecture-specific handler here...
1.7 - # Hack the ARM {E,O}ABI into the config file
1.8 - if [ "${CT_ARCH_ARM_EABI}" = "y" ]; then
1.9 - cat >>"${munge_file}" <<-ENDSED
1.10 + if [ "${CT_ARCH}" = "arm" ]; then
1.11 + # Hack the ARM {E,O}ABI into the config file
1.12 + if [ "${CT_ARCH_ARM_EABI}" = "y" ]; then
1.13 + cat >>"${munge_file}" <<-ENDSED
1.14 s/.*(CONFIG_ARM_OABI).*/# \\1 is not set/
1.15 s/.*(CONFIG_ARM_EABI).*/\\1=y/
1.16 ENDSED
1.17 - else
1.18 - cat >>"${munge_file}" <<-ENDSED
1.19 + else
1.20 + cat >>"${munge_file}" <<-ENDSED
1.21 s/.*(CONFIG_ARM_OABI).*/\\1=y/
1.22 s/.*(CONFIG_ARM_EABI).*/# \\1 is not set/
1.23 ENDSED
1.24 + fi
1.25 fi
1.26
1.27 # Accomodate for old and new uClibc versions, where the