android-tools: adb/adbd sub options use fork(), need MMU
authorPeter Korsgaard <peter@korsgaard.com>
Wed, 11 May 2016 20:47:28 +0000 (22:47 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 11 May 2016 20:47:28 +0000 (22:47 +0200)
Fixes:
http://autobuild.buildroot.org/results/d87/d87a4bd35cedca94ef6266a06ba05dda103d49ce/
http://autobuild.buildroot.org/results/a83/a8312469b4da6142f0ae67a5eeaf255da351a379/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/android-tools/Config.in

index 2517370ed6a8dbd518df9439f753022f454b2db5..84f18e8367c081296f25d3066d44976c8f1a9741 100644 (file)
@@ -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