ebcca24c95
In addition, if a user is using glibc 2.22, the default CFLAG D_FILE_OFFSET_BITS=64 will cause a compile error. This flag is now removed from the CFLAGS in the make file to ensure that toolchains compiled against glibc 2.22 will build the new version of the package properly. In addition, libselinux now uses fts(), which is not available on musl, and not provided by our default uClibc configuration. Therefore, libselinux now depends on glibc, as well as all its reverse dependencies. Signed-off-by: Adam Duskett <Aduskett@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> [Thomas: add glibc dependency for fts().] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
63 lines
2.1 KiB
Plaintext
63 lines
2.1 KiB
Plaintext
config BR2_PACKAGE_ANDROID_TOOLS
|
|
bool "android-tools"
|
|
# 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
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
select BR2_PACKAGE_ANDROID_TOOLS_ADBD if \
|
|
!BR2_PACKAGE_ANDROID_TOOLS_FASTBOOT && \
|
|
!BR2_PACKAGE_ANDROID_TOOLS_ADB
|
|
help
|
|
This package contains the fastboot and adb utilities, that
|
|
can be used to interact with target devices using of these
|
|
protocols.
|
|
|
|
if BR2_PACKAGE_ANDROID_TOOLS
|
|
|
|
config BR2_PACKAGE_ANDROID_TOOLS_FASTBOOT
|
|
bool "fastboot"
|
|
select BR2_PACKAGE_LIBSELINUX
|
|
select BR2_PACKAGE_ZLIB
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libselinux
|
|
depends on !BR2_STATIC_LIBS # libselinux
|
|
depends on BR2_TOOLCHAIN_USES_GLIBC # libselinux
|
|
depends on !BR2_arc # libselinux
|
|
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.
|
|
|
|
comment "fastboot needs a glibc toolchain w/ threads, dynamic library"
|
|
depends on !BR2_arc
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
|
|
!BR2_TOOLCHAIN_USES_GLIBC
|
|
|
|
config BR2_PACKAGE_ANDROID_TOOLS_ADB
|
|
bool "adb"
|
|
depends on BR2_USE_MMU # uses fork()
|
|
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.
|
|
|
|
config BR2_PACKAGE_ANDROID_TOOLS_ADBD
|
|
bool "adbd"
|
|
depends on BR2_USE_MMU # uses fork()
|
|
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.
|
|
|
|
endif
|
|
|
|
comment "android-tools needs a toolchain w/ threads"
|
|
depends on BR2_USE_MMU
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS
|