diff options
| author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-05-15 22:03:30 +0200 |
|---|---|---|
| committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-05-15 22:03:30 +0200 |
| commit | 247592ed00adadcdcb14948ada2bc7fdd5aa20a1 (patch) | |
| tree | 09bdec6f2033bdb6f6613ad3e9ecd5b628d1e462 | |
| parent | 0490a09fd73d45f0832e179074cdbe514deb977e (diff) | |
| download | buildroot-247592ed00adadcdcb14948ada2bc7fdd5aa20a1.tar.gz buildroot-247592ed00adadcdcb14948ada2bc7fdd5aa20a1.zip | |
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>
| -rw-r--r-- | package/android-tools/Config.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/package/android-tools/Config.in b/package/android-tools/Config.in index 9be3f40b0a..35bb8af6ef 100644 --- a/package/android-tools/Config.in +++ b/package/android-tools/Config.in @@ -6,6 +6,7 @@ config BR2_PACKAGE_ANDROID_TOOLS # has some complicated dependencies, we simply make the whole # package not available on noMMU platforms. depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_HAS_THREADS select BR2_PACKAGE_ANDROID_TOOLS_ADBD if \ !BR2_PACKAGE_ANDROID_TOOLS_FASTBOOT && \ !BR2_PACKAGE_ANDROID_TOOLS_ADB @@ -53,3 +54,7 @@ config BR2_PACKAGE_ANDROID_TOOLS_ADBD implementing the ADB protocol. endif + +comment "android-tools needs a toolchain w/ threads" + depends on BR2_USE_MMU + depends on !BR2_TOOLCHAIN_HAS_THREADS |

