package/*/Config.in: harmonize select of BR2_PACKAGE_ARGP_STANDALONE
PATCH 1/1 package/*/Config.in: harmonize select of BR2_PACKAGE_ARGP_STANDALONE
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.
--- package/bcusdk/Config.in | 2 +- package/cpio/Config.in | 2 +- package/cryptsetup/Config.in | 3 +-- package/freeipmi/Config.in | 2 +- package/iucode-tool/Config.in | 3 +-- package/libuio/Config.in | 2 +- package/libv4l/Config.in | 2 +- package/linknx/Config.in | 3 +-- package/rasdaemon/Config.in | 2 +- package/rng-tools/Config.in | 2 +- package/uftrace/Config.in | 4 +--- package/zchunk/Config.in | 2 +- 12 files changed, 12 insertions(+), 17 deletions(-)
package/bcusdk/Config.in +1 -1
@@ -3,7 +3,7 @@ config BR2_PACKAGE_BCUSDK depends on BR2_USE_MMU # libpthsem depends on BR2_INSTALL_LIBSTDCPP select BR2_PACKAGE_LIBPTHSEM - select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL + select BR2_PACKAGE_ARGP_STANDALONE if !BR2_TOOLCHAIN_USES_GLIBC help A free development environment for the Bus Coupling Units of the European Installation Bus.
package/cpio/Config.in +1 -1
@@ -2,7 +2,7 @@ config BR2_PACKAGE_CPIO bool "cpio" depends on BR2_USE_WCHAR # Need argp.h support - select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL + select BR2_PACKAGE_ARGP_STANDALONE if !BR2_TOOLCHAIN_USES_GLIBC help cpio archive utility for creation and extraction.
package/cryptsetup/Config.in +1 -2
@@ -3,8 +3,7 @@ config BR2_PACKAGE_CRYPTSETUP depends on BR2_TOOLCHAIN_HAS_THREADS # lvm2 depends on BR2_USE_MMU # lvm2, libargon2 depends on BR2_TOOLCHAIN_HAS_SYNC_4 # json-c - select BR2_PACKAGE_ARGP_STANDALONE if BR2_PACKAGE_LIBSSH && \ - (BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL) + select BR2_PACKAGE_ARGP_STANDALONE if BR2_PACKAGE_LIBSSH && !BR2_TOOLCHAIN_USES_GLIBC select BR2_PACKAGE_POPT select BR2_PACKAGE_LVM2 select BR2_PACKAGE_UTIL_LINUX
package/freeipmi/Config.in +1 -1
@@ -2,7 +2,7 @@ config BR2_PACKAGE_FREEIPMI bool "freeipmi" depends on BR2_USE_MMU # fork() depends on BR2_TOOLCHAIN_HAS_THREADS - select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL + select BR2_PACKAGE_ARGP_STANDALONE if !BR2_TOOLCHAIN_USES_GLIBC help FreeIPMI provides in-band and out-of-band IPMI software based on the IPMI v1.5/2.0 specification.
package/iucode-tool/Config.in +1 -2
@@ -3,8 +3,7 @@ config BR2_PACKAGE_IUCODE_TOOL depends on BR2_x86_64 || BR2_i386 select BR2_PACKAGE_INTEL_MICROCODE select BR2_PACKAGE_INTEL_MICROCODE_INSTALL_TARGET - select BR2_PACKAGE_ARGP_STANDALONE \ - if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL + select BR2_PACKAGE_ARGP_STANDALONE if !BR2_TOOLCHAIN_USES_GLIBC help Intel processor microcode tool
package/libuio/Config.in +1 -1
@@ -1,6 +1,6 @@ config BR2_PACKAGE_LIBUIO bool "libuio" - select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL + select BR2_PACKAGE_ARGP_STANDALONE if !BR2_TOOLCHAIN_USES_GLIBC help libuio is a light-weight C programming library to handle UIO (Userspace I/O) device discovery and binding task.
package/libv4l/Config.in +1 -1
@@ -3,7 +3,7 @@ config BR2_PACKAGE_LIBV4L depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # media headers - select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL + select BR2_PACKAGE_ARGP_STANDALONE if !BR2_TOOLCHAIN_USES_GLIBC select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE help libv4l is a collection of libraries which adds a thin
package/linknx/Config.in +1 -2
@@ -3,8 +3,7 @@ config BR2_PACKAGE_LINKNX depends on BR2_INSTALL_LIBSTDCPP depends on BR2_USE_MMU # libpthsem select BR2_PACKAGE_LIBPTHSEM - select BR2_PACKAGE_ARGP_STANDALONE \ - if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL + select BR2_PACKAGE_ARGP_STANDALONE if !BR2_TOOLCHAIN_USES_GLIBC select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE help Linknx is an automation platform providing high level
package/rasdaemon/Config.in +1 -1
@@ -3,7 +3,7 @@ config BR2_PACKAGE_RASDAEMON depends on !BR2_STATIC_LIBS # libtraceevent depends on BR2_TOOLCHAIN_HAS_THREADS select BR2_PACKAGE_LIBTRACEEVENT - select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL + select BR2_PACKAGE_ARGP_STANDALONE if !BR2_TOOLCHAIN_USES_GLIBC help rasdaemon is a tool that collects all hardware error events reported by the Linux Kernel from several sources (EDAC, MCE
package/rng-tools/Config.in +1 -1
@@ -3,7 +3,7 @@ config BR2_PACKAGE_RNG_TOOLS # pthread_setaffinity_np depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL depends on BR2_USE_MMU # libcap - select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL + select BR2_PACKAGE_ARGP_STANDALONE if !BR2_TOOLCHAIN_USES_GLIBC select BR2_PACKAGE_LIBCAP select BR2_PACKAGE_OPENSSL help
package/uftrace/Config.in +1 -3
@@ -10,9 +10,7 @@ config BR2_PACKAGE_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_UCLIBC || \ - BR2_TOOLCHAIN_USES_MUSL + 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
package/zchunk/Config.in +1 -1
@@ -1,7 +1,7 @@ config BR2_PACKAGE_ZCHUNK bool "zchunk" depends on BR2_USE_MMU # fork() - select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL + select BR2_PACKAGE_ARGP_STANDALONE if !BR2_TOOLCHAIN_USES_GLIBC help A file format designed for highly efficient deltas while maintaining good compression.
Signature · 6 lines
2.55.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 14 lines · Thomas Petazzoni via buildroot
BR2_PACKAGE_ARGP_STANDALONEis defined as follows:config
BR2_PACKAGE_ARGP_STANDALONE
depends on !BR2_TOOLCHAIN_USES_GLIBCSome packages did:
select
BR2_PACKAGE_ARGP_STANDALONEif !BR2_TOOLCHAIN_USES_GLIBCwhile a number of others did:
select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC ||
BR2_TOOLCHAIN_USES_MUSL
Quoted 7 lines
This commit harmonizes the situation, by settling on the first solution ("if !BR2_TOOLCHAIN_USES_GLIBC") as it matches how
BR2_PACKAGE_ARGP_STANDALONEis defined in the first place.No functional change.
Signed-off-by Thomas Petazzoni <[email protected]>
Applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot