mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-04-26 08:17:18 +00:00
android-tools: needs thread support
Both adb and adbd use <pthread.h>, and fastboot needs thread due to its dependency on libselinux, so we put the dependency in the top-level android-tools Config.in option. Fixes: http://autobuild.buildroot.net/results/bafadedc0ae91f8a1e26d14f30b37d6bb9486816/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
0490a09fd7
commit
247592ed00
@ -6,6 +6,7 @@ config BR2_PACKAGE_ANDROID_TOOLS
|
|||||||
# has some complicated dependencies, we simply make the whole
|
# has some complicated dependencies, we simply make the whole
|
||||||
# package not available on noMMU platforms.
|
# package not available on noMMU platforms.
|
||||||
depends on BR2_USE_MMU
|
depends on BR2_USE_MMU
|
||||||
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||||
select BR2_PACKAGE_ANDROID_TOOLS_ADBD if \
|
select BR2_PACKAGE_ANDROID_TOOLS_ADBD if \
|
||||||
!BR2_PACKAGE_ANDROID_TOOLS_FASTBOOT && \
|
!BR2_PACKAGE_ANDROID_TOOLS_FASTBOOT && \
|
||||||
!BR2_PACKAGE_ANDROID_TOOLS_ADB
|
!BR2_PACKAGE_ANDROID_TOOLS_ADB
|
||||||
@ -53,3 +54,7 @@ config BR2_PACKAGE_ANDROID_TOOLS_ADBD
|
|||||||
implementing the ADB protocol.
|
implementing the ADB protocol.
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
comment "android-tools needs a toolchain w/ threads"
|
||||||
|
depends on BR2_USE_MMU
|
||||||
|
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user