bluez5_utils: not available with uClibc

Since the bump from 5.27 to 5.37 of bluez5_utils, the bluez code has
started using <wordexp.h> functionality. Unfortunately, our current
uClibc configuration does not have the wordexp functionality enabled,
so bluez5_utils cannot be built anymore.

In order to address this, we make bluez5_utils unavailable on
uClibc. This could be changed later by either removing the dependency
of bluez5_utils on wordexp support, or by deciding to add wordexp
support to our uClibc configuration.

Fixes:

  http://autobuild.buildroot.org/results/831/83112559d84dc156141339a31e3e02f1a2af5155/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Thomas Petazzoni 2016-01-16 18:12:22 +01:00
parent f9d6ba3561
commit d7c54cb0c0
1 changed files with 5 additions and 2 deletions

View File

@ -6,6 +6,8 @@ config BR2_PACKAGE_BLUEZ5_UTILS
depends on !BR2_STATIC_LIBS # uses dlfcn depends on !BR2_STATIC_LIBS # uses dlfcn
depends on !BR2_PACKAGE_BLUEZ_UTILS # conflicts with 4.x version depends on !BR2_PACKAGE_BLUEZ_UTILS # conflicts with 4.x version
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
# wordexp support not in our uClibc configuration
depends on !BR2_TOOLCHAIN_USES_UCLIBC
select BR2_PACKAGE_DBUS select BR2_PACKAGE_DBUS
select BR2_PACKAGE_LIBGLIB2 select BR2_PACKAGE_LIBGLIB2
help help
@ -74,9 +76,10 @@ config BR2_PACKAGE_BLUEZ5_UTILS_TEST
endif endif
comment "bluez5-utils needs a toolchain w/ wchar, threads, headers >= 3.4, dynamic library" comment "bluez5-utils needs a glibc or musl toolchain w/ wchar, threads, headers >= 3.4, dynamic library"
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
!BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 || BR2_STATIC_LIBS !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 || BR2_STATIC_LIBS || \
!(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL)
depends on BR2_USE_MMU depends on BR2_USE_MMU
comment "bluez5-utils conflicts with older bluez-utils version" comment "bluez5-utils conflicts with older bluez-utils version"