package/android-tools: fix the select logic
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 15 May 2016 19:32:20 +0000 (21:32 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 15 May 2016 19:33:50 +0000 (21:33 +0200)
commitf0d995cafd0c664f436bc9d082a3bb14b683dd75
tree08e54253b6e5a4556d67e2413f31a0b6eeeae169
parent9624685030e7a310459dd98922e33b472ec05ba3
package/android-tools: fix the select logic

The android-tools Config.in.host has some logic to ensure that at
least one of its sub-options is enabled. However, this logic
incorrectly uses the sub-option names from the *target* android-tools
package, while it should be using the ones from the *host*
android-tools package.

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)

Reported-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/android-tools/Config.in.host