bluez-alsa: needs NPTL

bluez-alsa calls pthread_setname_np() which is only provided by the NPTL
pthread implementation.

Fixes:
http://autobuild.buildroot.net/results/707/707fd46921b1cfda90e9c30be33ca918f2d0cb00/
http://autobuild.buildroot.net/results/7a6/7a632c2b6b9021aa6edcd5126400de26e2b8ca42/

Cc: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Baruch Siach 2018-05-01 19:30:03 +03:00 committed by Thomas Petazzoni
parent 4f54c959dc
commit c7056a69dd

View File

@ -2,7 +2,7 @@ config BR2_PACKAGE_BLUEZ_ALSA
bool "bluez-alsa" bool "bluez-alsa"
depends on !BR2_STATIC_LIBS # bluez5 depends on !BR2_STATIC_LIBS # bluez5
depends on !BR2_PACKAGE_BLUEZ_UTILS # bluez5 depends on !BR2_PACKAGE_BLUEZ_UTILS # bluez5
depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 # bluez5 depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 # bluez5
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # bluez5 depends on BR2_TOOLCHAIN_HAS_SYNC_4 # bluez5
depends on BR2_USE_MMU # bluez5 -> dbus depends on BR2_USE_MMU # bluez5 -> dbus
@ -28,8 +28,8 @@ config BR2_PACKAGE_BLUEZ_ALSA_HCITOP
endif endif
comment "bluez-alsa needs a toolchain w/ wchar, threads, headers >= 3.4, dynamic library" comment "bluez-alsa needs a toolchain w/ wchar, NPTL, headers >= 3.4, dynamic library"
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
!BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 || BR2_STATIC_LIBS !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 || BR2_STATIC_LIBS
depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on BR2_USE_MMU depends on BR2_USE_MMU