2015-11-23 17:27:12 +01:00
|
|
|
config BR2_PACKAGE_ANDROID_TOOLS
|
2016-05-11 22:45:25 +02:00
|
|
|
bool "android-tools"
|
2016-05-14 16:17:11 +02:00
|
|
|
# Technically, fastboot could build on noMMU systems. But
|
|
|
|
# since we need at least one of the three sub-options enabled,
|
|
|
|
# and adb/adbd can't be built on noMMU systems, and fastboot
|
|
|
|
# has some complicated dependencies, we simply make the whole
|
|
|
|
# package not available on noMMU platforms.
|
|
|
|
depends on BR2_USE_MMU
|
2016-05-15 22:03:30 +02:00
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
2016-05-11 22:45:25 +02:00
|
|
|
select BR2_PACKAGE_ANDROID_TOOLS_ADBD if \
|
|
|
|
!BR2_PACKAGE_ANDROID_TOOLS_FASTBOOT && \
|
2016-05-14 16:17:11 +02:00
|
|
|
!BR2_PACKAGE_ANDROID_TOOLS_ADB
|
2016-05-11 22:45:25 +02:00
|
|
|
help
|
|
|
|
This package contains the fastboot and adb utilities, that
|
|
|
|
can be used to interact with target devices using of these
|
|
|
|
protocols.
|
2015-11-23 17:27:12 +01:00
|
|
|
|
|
|
|
if BR2_PACKAGE_ANDROID_TOOLS
|
|
|
|
|
|
|
|
config BR2_PACKAGE_ANDROID_TOOLS_FASTBOOT
|
2016-05-11 22:45:25 +02:00
|
|
|
bool "fastboot"
|
|
|
|
select BR2_PACKAGE_LIBSELINUX
|
|
|
|
select BR2_PACKAGE_ZLIB
|
2016-05-14 16:17:11 +02:00
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libselinux
|
|
|
|
depends on !BR2_STATIC_LIBS # libselinux
|
2016-06-27 00:39:11 +02:00
|
|
|
depends on BR2_TOOLCHAIN_USES_GLIBC # libselinux
|
2016-05-14 16:17:11 +02:00
|
|
|
depends on !BR2_arc # libselinux
|
2016-05-11 22:45:25 +02:00
|
|
|
help
|
|
|
|
This option will build and install the fastboot utility for
|
|
|
|
the target, which can be used to reflash other target devices
|
|
|
|
implementing the fastboot protocol.
|
2015-11-23 17:27:12 +01:00
|
|
|
|
2016-06-27 00:39:11 +02:00
|
|
|
comment "fastboot needs a glibc toolchain w/ threads, dynamic library"
|
2016-05-14 16:17:11 +02:00
|
|
|
depends on !BR2_arc
|
2016-06-27 00:39:11 +02:00
|
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
|
|
|
|
!BR2_TOOLCHAIN_USES_GLIBC
|
2016-05-14 16:17:11 +02:00
|
|
|
|
2015-11-23 17:27:12 +01:00
|
|
|
config BR2_PACKAGE_ANDROID_TOOLS_ADB
|
2016-05-11 22:45:25 +02:00
|
|
|
bool "adb"
|
2016-05-11 22:47:28 +02:00
|
|
|
depends on BR2_USE_MMU # uses fork()
|
2016-05-11 22:45:25 +02:00
|
|
|
select BR2_PACKAGE_OPENSSL
|
|
|
|
select BR2_PACKAGE_ZLIB
|
|
|
|
help
|
|
|
|
This option will build and install the adb utility for the
|
|
|
|
target, which can be used to interact with other target
|
|
|
|
devices implementing the ADB protocol.
|
2015-11-23 17:27:12 +01:00
|
|
|
|
|
|
|
config BR2_PACKAGE_ANDROID_TOOLS_ADBD
|
2016-05-11 22:45:25 +02:00
|
|
|
bool "adbd"
|
2016-05-11 22:47:28 +02:00
|
|
|
depends on BR2_USE_MMU # uses fork()
|
2016-05-11 22:45:25 +02:00
|
|
|
select BR2_PACKAGE_OPENSSL
|
|
|
|
select BR2_PACKAGE_ZLIB
|
|
|
|
help
|
|
|
|
This option will build and install the adbd utility for the
|
|
|
|
target, which can be used to interact with a host machine
|
|
|
|
implementing the ADB protocol.
|
2015-11-23 17:27:12 +01:00
|
|
|
|
|
|
|
endif
|
2016-05-15 22:03:30 +02:00
|
|
|
|
|
|
|
comment "android-tools needs a toolchain w/ threads"
|
|
|
|
depends on BR2_USE_MMU
|
|
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS
|