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