xref: /OK3568_Linux_fs/buildroot/package/ltrace/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyunconfig BR2_PACKAGE_LTRACE_ARCH_SUPPORTS
2*4882a593Smuzhiyun	bool
3*4882a593Smuzhiyun	default y if BR2_aarch64
4*4882a593Smuzhiyun	default y if BR2_arm
5*4882a593Smuzhiyun	default y if BR2_i386
6*4882a593Smuzhiyun	default y if BR2_mips
7*4882a593Smuzhiyun	default y if BR2_mipsel
8*4882a593Smuzhiyun	default y if BR2_powerpc
9*4882a593Smuzhiyun	default y if BR2_sparc
10*4882a593Smuzhiyun	default y if BR2_x86_64
11*4882a593Smuzhiyun	default y if BR2_xtensa
12*4882a593Smuzhiyun
13*4882a593Smuzhiyunconfig BR2_PACKAGE_LTRACE
14*4882a593Smuzhiyun	bool "ltrace"
15*4882a593Smuzhiyun	depends on BR2_USE_WCHAR # elfutils
16*4882a593Smuzhiyun	depends on !BR2_STATIC_LIBS # elfutils
17*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_THREADS # elfutils
18*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC # elfutils
19*4882a593Smuzhiyun	depends on BR2_PACKAGE_LTRACE_ARCH_SUPPORTS
20*4882a593Smuzhiyun	select BR2_PACKAGE_ELFUTILS
21*4882a593Smuzhiyun	help
22*4882a593Smuzhiyun	  Debugging program which runs a specified command until it
23*4882a593Smuzhiyun	  exits. While the command is executing, ltrace intercepts and
24*4882a593Smuzhiyun	  records the dynamic library calls which are called by the
25*4882a593Smuzhiyun	  executed process and the signals received by that process.
26*4882a593Smuzhiyun
27*4882a593Smuzhiyun	  http://ltrace.org
28*4882a593Smuzhiyun
29*4882a593Smuzhiyuncomment "ltrace needs a uClibc or glibc toolchain w/ wchar, dynamic library, threads"
30*4882a593Smuzhiyun	depends on BR2_PACKAGE_LTRACE_ARCH_SUPPORTS
31*4882a593Smuzhiyun	depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS \
32*4882a593Smuzhiyun		|| !BR2_TOOLCHAIN_HAS_THREADS \
33*4882a593Smuzhiyun		|| !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC)
34