package/android-tools: fastboot now available on !glibc toolchains

libselinux can now be built on !glibc toolchains, so we can re-enable
building fastboot on !glibc toolchains as well.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Thomas Petazzoni 2019-09-22 11:06:32 +02:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent 6b49a27919
commit 20d990669c

View File

@ -38,7 +38,6 @@ config BR2_PACKAGE_ANDROID_TOOLS_FASTBOOT
bool "fastboot" bool "fastboot"
depends on BR2_TOOLCHAIN_HAS_THREADS # libselinux depends on BR2_TOOLCHAIN_HAS_THREADS # libselinux
depends on !BR2_STATIC_LIBS # libselinux depends on !BR2_STATIC_LIBS # libselinux
depends on BR2_TOOLCHAIN_USES_GLIBC # libselinux
depends on !BR2_arc # libselinux depends on !BR2_arc # libselinux
depends on BR2_PACKAGE_ANDROID_TOOLS_FASTBOOT_GOOD_KERNEL_HEADERS depends on BR2_PACKAGE_ANDROID_TOOLS_FASTBOOT_GOOD_KERNEL_HEADERS
select BR2_PACKAGE_LIBSELINUX select BR2_PACKAGE_LIBSELINUX
@ -48,10 +47,9 @@ config BR2_PACKAGE_ANDROID_TOOLS_FASTBOOT
the target, which can be used to reflash other target devices the target, which can be used to reflash other target devices
implementing the fastboot protocol. implementing the fastboot protocol.
comment "fastboot needs a glibc toolchain w/ threads, dynamic library" comment "fastboot needs a toolchain w/ threads, dynamic library"
depends on !BR2_arc depends on !BR2_arc
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \ depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
!BR2_TOOLCHAIN_USES_GLIBC
comment "fastboot needs headers >= 3.10 (PowerPC64), headers >= 3.16 (MIPS64)" comment "fastboot needs headers >= 3.10 (PowerPC64), headers >= 3.16 (MIPS64)"
depends on !BR2_arc depends on !BR2_arc