Commit d7c54cb0 authored by Thomas Petazzoni's avatar Thomas Petazzoni
Browse files

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: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent f9d6ba35
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -6,6 +6,8 @@ config BR2_PACKAGE_BLUEZ5_UTILS
	depends on !BR2_STATIC_LIBS # uses dlfcn
	depends on !BR2_PACKAGE_BLUEZ_UTILS # conflicts with 4.x version
	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_LIBGLIB2
	help
@@ -74,9 +76,10 @@ config BR2_PACKAGE_BLUEZ5_UTILS_TEST

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 || \
		!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

comment "bluez5-utils conflicts with older bluez-utils version"