# HG changeset patch # User "Yann E. MORIN" # Date 1279821987 -7200 # Node ID ffc1121618fa60bfe8a1e3d5a9ace42cb2a36b63 # Parent 278df575fe4ba07518da2227f20ba03b437da327 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! diff -r 278df575fe4b -r ffc1121618fa config/libc/uClibc.in --- a/config/libc/uClibc.in Thu Jul 22 23:33:17 2010 +0200 +++ b/config/libc/uClibc.in Thu Jul 22 20:06:27 2010 +0200 @@ -142,16 +142,6 @@ default 1 if LIBC_UCLIBC_DEBUG_LEVEL_1 default 2 if LIBC_UCLIBC_DEBUG_LEVEL_2 -config LIBC_UCLIBC_BUILD_CROSS_LDD - bool - prompt "Build cross-ldd" - default y - help - Say 'y' here to build a cross-ldd to run in the host. - - Building a cross-ldd only works on ELF systems, that is, - if you build under Cygwin, you *must* say 'n' here. - config LIBC_UCLIBC_CONFIG_FILE string prompt "Configuration file" diff -r 278df575fe4b -r ffc1121618fa scripts/build/libc/uClibc.sh --- a/scripts/build/libc/uClibc.sh Thu Jul 22 23:33:17 2010 +0200 +++ b/scripts/build/libc/uClibc.sh Thu Jul 22 20:06:27 2010 +0200 @@ -222,17 +222,6 @@ ${CT_LIBC_UCLIBC_VERBOSITY} \ install - if [ "${CT_LIBC_UCLIBC_BUILD_CROSS_LDD}" = "y" ]; then - CT_DoLog EXTRA "Building C library cross-ldd" - CT_DoExecLog ALL \ - make PREFIX="${CT_SYSROOT_DIR}/" \ - ${CT_LIBC_UCLIBC_VERBOSITY} \ - -C utils hostutils - - CT_DoLog EXTRA "Installing C library cross-ldd" - CT_DoExecLog ALL install -m 0755 utils/ldd.host "${CT_PREFIX_DIR}/bin/${CT_TARGET}-ldd" - fi - CT_EndStep }