mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-26 20:10:35 -09:00
BR2_PACKAGE_ARGP_STANDALONE is defined as follows:
config BR2_PACKAGE_ARGP_STANDALONE
depends on !BR2_TOOLCHAIN_USES_GLIBC
Some packages did:
select BR2_PACKAGE_ARGP_STANDALONE if !BR2_TOOLCHAIN_USES_GLIBC
while a number of others did:
select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL
This commit harmonizes the situation, by settling on the first
solution ("if !BR2_TOOLCHAIN_USES_GLIBC") as it matches how
BR2_PACKAGE_ARGP_STANDALONE is defined in the first place.
No functional change.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 1799bf3680)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
27 lines
986 B
Plaintext
27 lines
986 B
Plaintext
config BR2_PACKAGE_UFTRACE_ARCH_SUPPORTS
|
|
bool
|
|
default y if BR2_ARM_CPU_ARMV6 || BR2_ARM_CPU_ARMV7A
|
|
default y if BR2_aarch64
|
|
default y if BR2_i386
|
|
default y if BR2_x86_64
|
|
|
|
config BR2_PACKAGE_UFTRACE
|
|
bool "uftrace"
|
|
depends on BR2_PACKAGE_UFTRACE_ARCH_SUPPORTS
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # pthread_setname_np()
|
|
depends on !BR2_STATIC_LIBS
|
|
select BR2_PACKAGE_ARGP_STANDALONE if !BR2_TOOLCHAIN_USES_GLIBC
|
|
help
|
|
The uftrace tool is to trace and analyze execution of a
|
|
program written in C/C++. It was heavily inspired by the
|
|
ftrace framework of the Linux kernel (especially function
|
|
graph tracer) and supports userspace programs.
|
|
It supports various kind of commands and filters to help
|
|
analysis of the program execution and performance.
|
|
|
|
https://github.com/namhyung/uftrace
|
|
|
|
comment "uftrace needs a toolchain w/ NPTL, dynamic library"
|
|
depends on BR2_PACKAGE_UFTRACE_ARCH_SUPPORTS
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS
|