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_PACKAGE_LTRACE_ARCH_SUPPORTS
19	select BR2_PACKAGE_ELFUTILS
20	help
21	  Debugging program which runs a specified command until it
22	  exits. While the command is executing, ltrace intercepts and
23	  records the dynamic library calls which are called by the
24	  executed process and the signals received by that process.
25
26	  http://ltrace.org
27
28comment "ltrace needs a toolchain w/ wchar, dynamic library, threads"
29	depends on BR2_PACKAGE_LTRACE_ARCH_SUPPORTS
30	depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS \
31		|| !BR2_TOOLCHAIN_HAS_THREADS
32