[Buildroot] [PATCH 2/2] package/android-tools: fix host tools dependency

Samuel Martin s.martin49 at gmail.com
Sat May 14 21:09:16 UTC 2016


Host android-tools only makes sense when the target package is enable,
so make it available only when the android-tools is already part of the
target package selection.

This change fixes in a simpler way the missing selection on
BR2_PACKAGE_ANDROID_TOOLS and the missing dependency on BR2_USE_MMU.

This patch fixes the following kconfig warning:

  warning: (BR2_PACKAGE_HOST_ANDROID_TOOLS) selects BR2_PACKAGE_ANDROID_TOOLS_ADB which has unmet direct dependencies (BR2_PACKAGE_ANDROID_TOOLS && BR2_USE_MMU)

Signed-off-by: Samuel Martin <s.martin49 at gmail.com>
---
 package/android-tools/Config.in.host | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/android-tools/Config.in.host b/package/android-tools/Config.in.host
index 4326014..7ac9636 100644
--- a/package/android-tools/Config.in.host
+++ b/package/android-tools/Config.in.host
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_HOST_ANDROID_TOOLS
 	bool "host android-tools"
+	depends on BR2_PACKAGE_ANDROID_TOOLS
 	select BR2_PACKAGE_ANDROID_TOOLS_ADB if \
 		!BR2_PACKAGE_ANDROID_TOOLS_FASTBOOT
 	help
-- 
2.8.2



More information about the buildroot mailing list