]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blobdiff - package/ltrace/Config.in
ltrace: enable for mips/mipsel
[coffee/buildroot.git] / package / ltrace / Config.in
index 250370709e3dba1871ab031796d4fcb86b79ed07..2b42a846e1fd59846fcaa1c4cb1043994e53e5c5 100644 (file)
@@ -1,9 +1,21 @@
 config BR2_PACKAGE_LTRACE
        bool "ltrace"
-       default n
-       depends on BR2_LARGEFILE
-       depends on BR2_PACKAGE_LIBELF
+       # ltrace normally has mips/mipsel support, but it's currently
+       # broken (error: 'struct ltelf' has no member named
+       # 'relplt_count'). Issue reported upstream at
+       # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=756764.
+       depends on (BR2_i386 || BR2_arm || BR2_mips || BR2_mipsel \
+               || BR2_powerpc || BR2_sparc || BR2_x86_64 || BR2_xtensa)
+       select BR2_PACKAGE_ELFUTILS
+       depends on BR2_USE_WCHAR # elfutils
+       depends on !BR2_STATIC_LIBS # 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.
 
-         http://packages.debian.org/unstable/utils/ltrace.html
+         http://ltrace.org
+
+comment "ltrace needs toolchain w/ wchar, dynamic library"
+       depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS