瀏覽代碼

android-tools: adb/adbd sub options use fork(), need MMU

Fixes:
http://autobuild.buildroot.org/results/d87/d87a4bd35cedca94ef6266a06ba05dda103d49ce/
http://autobuild.buildroot.org/results/a83/a8312469b4da6142f0ae67a5eeaf255da351a379/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Peter Korsgaard 9 年之前
父節點
當前提交
30706f9252
共有 1 個文件被更改,包括 7 次插入1 次删除
  1. 7 1
      package/android-tools/Config.in

+ 7 - 1
package/android-tools/Config.in

@@ -1,8 +1,12 @@
 config BR2_PACKAGE_ANDROID_TOOLS
 	bool "android-tools"
+	# adb/adbd needs mmu
 	select BR2_PACKAGE_ANDROID_TOOLS_ADBD if \
 	      !BR2_PACKAGE_ANDROID_TOOLS_FASTBOOT && \
-	      !BR2_PACKAGE_ANDROID_TOOLS_ADB
+	      !BR2_PACKAGE_ANDROID_TOOLS_ADB && \
+	      BR2_USE_MMU
+	select BR2_PACKAGE_ANDROID_TOOLS_FASTBOOT if \
+	      !BR2_USE_MMU
 	help
 	  This package contains the fastboot and adb utilities, that
 	  can be used to interact with target devices using of these
@@ -21,6 +25,7 @@ config BR2_PACKAGE_ANDROID_TOOLS_FASTBOOT
 
 config BR2_PACKAGE_ANDROID_TOOLS_ADB
 	bool "adb"
+	depends on BR2_USE_MMU # uses fork()
 	select BR2_PACKAGE_OPENSSL
 	select BR2_PACKAGE_ZLIB
 	help
@@ -30,6 +35,7 @@ config BR2_PACKAGE_ANDROID_TOOLS_ADB
 
 config BR2_PACKAGE_ANDROID_TOOLS_ADBD
 	bool "adbd"
+	depends on BR2_USE_MMU # uses fork()
 	select BR2_PACKAGE_OPENSSL
 	select BR2_PACKAGE_ZLIB
 	help