libc/uClibc: do not install cross-ldd
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu Jul 22 20:06:27 2010 +0200 (2010-07-22)
changeset 2033ffc1121618fa
parent 2032 278df575fe4b
child 2034 c3967b2c49b4
libc/uClibc: do not install cross-ldd

I was unable to make the cross-ldd from uClibc to work, and
it is not possible to build it on non-POSIX system.

Besides, we have a generic script that is in the starting-blocks
to replace it, that will work for any C library, and also will
work on non-POSIX systems. Bonus!
config/libc/uClibc.in
scripts/build/libc/uClibc.sh
     1.1 --- a/config/libc/uClibc.in	Thu Jul 22 23:33:17 2010 +0200
     1.2 +++ b/config/libc/uClibc.in	Thu Jul 22 20:06:27 2010 +0200
     1.3 @@ -142,16 +142,6 @@
     1.4      default 1 if LIBC_UCLIBC_DEBUG_LEVEL_1
     1.5      default 2 if LIBC_UCLIBC_DEBUG_LEVEL_2
     1.6  
     1.7 -config LIBC_UCLIBC_BUILD_CROSS_LDD
     1.8 -    bool
     1.9 -    prompt "Build cross-ldd"
    1.10 -    default y
    1.11 -    help
    1.12 -      Say 'y' here to build a cross-ldd to run in the host.
    1.13 -      
    1.14 -      Building a cross-ldd only works on ELF systems, that is,
    1.15 -      if you build under Cygwin, you *must* say 'n' here.
    1.16 -
    1.17  config LIBC_UCLIBC_CONFIG_FILE
    1.18      string
    1.19      prompt "Configuration file"
     2.1 --- a/scripts/build/libc/uClibc.sh	Thu Jul 22 23:33:17 2010 +0200
     2.2 +++ b/scripts/build/libc/uClibc.sh	Thu Jul 22 20:06:27 2010 +0200
     2.3 @@ -222,17 +222,6 @@
     2.4           ${CT_LIBC_UCLIBC_VERBOSITY}    \
     2.5           install
     2.6  
     2.7 -    if [ "${CT_LIBC_UCLIBC_BUILD_CROSS_LDD}" = "y" ]; then
     2.8 -        CT_DoLog EXTRA "Building C library cross-ldd"
     2.9 -        CT_DoExecLog ALL                    \
    2.10 -        make PREFIX="${CT_SYSROOT_DIR}/"    \
    2.11 -             ${CT_LIBC_UCLIBC_VERBOSITY}    \
    2.12 -             -C utils hostutils
    2.13 -
    2.14 -        CT_DoLog EXTRA "Installing C library cross-ldd"
    2.15 -        CT_DoExecLog ALL install -m 0755 utils/ldd.host "${CT_PREFIX_DIR}/bin/${CT_TARGET}-ldd"
    2.16 -    fi
    2.17 -
    2.18      CT_EndStep
    2.19  }
    2.20