Browse Source

package/android-tools: add host gcc >= 5 dependency

Commit 56d9b887685c86fd4fbadda247cdbe733d499e81 forgot to add host
gcc >= 5 dependency

Fixes:
 - No autobuilder failures (yet)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Fabrice Fontaine 3 years ago
parent
commit
ae2c55df06
1 changed files with 8 additions and 0 deletions
  1. 8 0
      package/android-tools/Config.in.host

+ 8 - 0
package/android-tools/Config.in.host

@@ -11,11 +11,15 @@ if BR2_PACKAGE_HOST_ANDROID_TOOLS
 
 
 config BR2_PACKAGE_HOST_ANDROID_TOOLS_FASTBOOT
 config BR2_PACKAGE_HOST_ANDROID_TOOLS_FASTBOOT
 	bool "fastboot"
 	bool "fastboot"
+	depends on BR2_HOST_GCC_AT_LEAST_5 # host-libselinux -> host-libsepol
 	help
 	help
 	  This option will build and install the fastboot utility for
 	  This option will build and install the fastboot utility for
 	  the host, which can be used to reflash target devices
 	  the host, which can be used to reflash target devices
 	  implementing the fastboot protocol.
 	  implementing the fastboot protocol.
 
 
+comment "fastboot needs a toolchain w/ host gcc >= 5"
+	depends on !BR2_HOST_GCC_AT_LEAST_5
+
 config BR2_PACKAGE_HOST_ANDROID_TOOLS_ADB
 config BR2_PACKAGE_HOST_ANDROID_TOOLS_ADB
 	bool "adb"
 	bool "adb"
 	help
 	help
@@ -25,9 +29,13 @@ config BR2_PACKAGE_HOST_ANDROID_TOOLS_ADB
 
 
 config BR2_PACKAGE_HOST_ANDROID_TOOLS_EXT4_UTILS
 config BR2_PACKAGE_HOST_ANDROID_TOOLS_EXT4_UTILS
 	bool "ext4 utils"
 	bool "ext4 utils"
+	depends on BR2_HOST_GCC_AT_LEAST_5 # host-libselinux -> host-libsepol
 	help
 	help
 	  This option will build and install the ext4 utils for the
 	  This option will build and install the ext4 utils for the
 	  host, i.e. make_ext4fs, ext4fixup, ext2simg, img2simg,
 	  host, i.e. make_ext4fs, ext4fixup, ext2simg, img2simg,
 	  simg2img and simg2simg.
 	  simg2img and simg2simg.
 
 
+comment "ext4 utils needs a toolchain w/ host gcc >= 5"
+	depends on !BR2_HOST_GCC_AT_LEAST_5
+
 endif
 endif