mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-27 20:40:34 -09:00
Since upstream commit 7c7fed30f7553b551fce3151fe315cf69e602065, which first appeared in usbutils version 007, iconv is used when available. Since then, the package has been failing to build when libiconv needs to be provided by a library external to the C library. This commit fixes that by selecting BR2_PACKAGE_LIBICONV when libiconv is not provided by the toolchain. Fixes: http://autobuild.buildroot.net/results/d7d/d7dedb754804242d020d1a0d34dd95c7c1074710// http://autobuild.buildroot.net/results/bca/bca14ce4fe05f087e1d8821670ba3165e9820a7f// http://autobuild.buildroot.net/results/665/665c064bf28a325a8bc4d9fe16f453be48472e57// http://autobuild.buildroot.net/results/b54/b543a3713949571b04dbd9c94f063fa0a186765b// http://autobuild.buildroot.net/results/6ea/6ea6cde91c2c6c49f56a08f37fef0c134eda40a0// Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com> Signed-off-by: Julien Olivain <ju.o@free.fr>
17 lines
532 B
Plaintext
17 lines
532 B
Plaintext
config BR2_PACKAGE_USBUTILS
|
|
bool "usbutils"
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
|
|
depends on BR2_PACKAGE_HAS_UDEV # needs hwdb
|
|
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
|
|
select BR2_PACKAGE_LIBUSB
|
|
help
|
|
USB enumeration utilities
|
|
|
|
http://linux-usb.sourceforge.net/
|
|
|
|
comment "usbutils needs udev /dev management and toolchain w/ threads, gcc >= 4.9"
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || \
|
|
!BR2_PACKAGE_HAS_UDEV || \
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|