]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blobdiff - package/ltrace/Config.in
ltrace: remove bogus comment in Config.in file
[coffee/buildroot.git] / package / ltrace / Config.in
index 4d1acfa212e967116f1957a278b93b523cf5edad..3a46b6a4f6526aad9d0a64ea786ebf699d0920c0 100644 (file)
@@ -1,18 +1,19 @@
 config BR2_PACKAGE_LTRACE
        bool "ltrace"
+       depends on BR2_USE_WCHAR # elfutils
+       depends on !BR2_STATIC_LIBS # elfutils
+       depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC # elfutils
        depends on (BR2_i386 || BR2_arm || BR2_mips || BR2_mipsel \
-               || BR2_powerpc || BR2_sparc || BR2_x86_64)
-       select BR2_PACKAGE_LIBELF
+               || BR2_powerpc || BR2_sparc || BR2_x86_64 || BR2_xtensa)
        select BR2_PACKAGE_ELFUTILS
-       depends on BR2_LARGEFILE # elfutils
-       depends on BR2_USE_WCHAR # elfutils
        help
-         Debugging program which runs a specified command until it exits.
-         While the command is executing, ltrace intercepts and records
-         the dynamic library calls which are called by the executed
-         process and the signals received by that process.
+         Debugging program which runs a specified command until it
+         exits. While the command is executing, ltrace intercepts and
+         records the dynamic library calls which are called by the
+         executed process and the signals received by that process.
 
          http://ltrace.org
 
-comment "ltrace needs toolchain w/ largefile, wchar"
-       depends on !BR2_LARGEFILE || !BR2_USE_WCHAR
+comment "ltrace needs a uClibc or glibc toolchain w/ wchar, dynamic library"
+       depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS \
+               || !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC)