1config BR2_PACKAGE_HOST_ANDROID_TOOLS
2	bool "host android-tools"
3	select BR2_PACKAGE_HOST_ANDROID_TOOLS_ADB if \
4		!BR2_PACKAGE_HOST_ANDROID_TOOLS_FASTBOOT
5	help
6	  This package contains the fastboot and adb utilities, that
7	  can be used to interact with target devices using of these
8	  protocols.
9
10if BR2_PACKAGE_HOST_ANDROID_TOOLS
11
12config BR2_PACKAGE_HOST_ANDROID_TOOLS_FASTBOOT
13	bool "fastboot"
14	depends on BR2_HOST_GCC_AT_LEAST_5 # host-libselinux -> host-libsepol
15	help
16	  This option will build and install the fastboot utility for
17	  the host, which can be used to reflash target devices
18	  implementing the fastboot protocol.
19
20comment "fastboot needs a toolchain w/ host gcc >= 5"
21	depends on !BR2_HOST_GCC_AT_LEAST_5
22
23config BR2_PACKAGE_HOST_ANDROID_TOOLS_ADB
24	bool "adb"
25	help
26	  This option will build and install the adb utility for the
27	  host, which can be used to interact with target devices
28	  implementing the ADB protocol.
29
30config BR2_PACKAGE_HOST_ANDROID_TOOLS_EXT4_UTILS
31	bool "ext4 utils"
32	depends on BR2_HOST_GCC_AT_LEAST_5 # host-libselinux -> host-libsepol
33	help
34	  This option will build and install the ext4 utils for the
35	  host, i.e. make_ext4fs, ext4fixup, ext2simg, img2simg,
36	  simg2img and simg2simg.
37
38comment "ext4 utils needs a toolchain w/ host gcc >= 5"
39	depends on !BR2_HOST_GCC_AT_LEAST_5
40
41endif
42