From d7287c9b5f9ee24d43abdc22a27d1743d9ee4b56 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Thu, 22 Jul 2010 20:06:27 +0200 Subject: 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 --git a/config/libc/uClibc.in b/config/libc/uClibc.in index 0438658..7f10a64 100644 --- a/config/libc/uClibc.in +++ b/config/libc/uClibc.in @@ -142,16 +142,6 @@ config LIBC_UCLIBC_DEBUG_LEVEL 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 --git a/scripts/build/libc/uClibc.sh b/scripts/build/libc/uClibc.sh index 8f657a7..97cf2f2 100644 --- a/scripts/build/libc/uClibc.sh +++ b/scripts/build/libc/uClibc.sh @@ -222,17 +222,6 @@ do_libc() { ${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 } -- cgit v0.10.2-6-g49f6