浏览代码

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>
Thomas Petazzoni 9 年之前
父节点
当前提交
f0d995cafd
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      package/android-tools/Config.in.host

+ 2 - 2
package/android-tools/Config.in.host

@@ -1,7 +1,7 @@
 config BR2_PACKAGE_HOST_ANDROID_TOOLS
 config BR2_PACKAGE_HOST_ANDROID_TOOLS
 	bool "host android-tools"
 	bool "host android-tools"
-	select BR2_PACKAGE_ANDROID_TOOLS_ADB if \
-		!BR2_PACKAGE_ANDROID_TOOLS_FASTBOOT
+	select BR2_PACKAGE_HOST_ANDROID_TOOLS_ADB if \
+		!BR2_PACKAGE_HOST_ANDROID_TOOLS_FASTBOOT
 	help
 	help
 	  This package contains the fastboot and adb utilities, that
 	  This package contains the fastboot and adb utilities, that
 	  can be used to interact with target devices using of these
 	  can be used to interact with target devices using of these