All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [git commit] android-tools: needs thread support
@ 2016-05-15 20:03 Thomas Petazzoni
  0 siblings, 0 replies; only message in thread
From: Thomas Petazzoni @ 2016-05-15 20:03 UTC (permalink / raw)
  To: buildroot

commit: https://git.buildroot.net/buildroot/commit/?id=247592ed00adadcdcb14948ada2bc7fdd5aa20a1
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

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>
---
 package/android-tools/Config.in | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/package/android-tools/Config.in b/package/android-tools/Config.in
index 9be3f40..35bb8af 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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-05-15 20:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-15 20:03 [Buildroot] [git commit] android-tools: needs thread support Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.