diff --git a/package/tensorflow-lite/Config.in b/package/tensorflow-lite/Config.in index 604a1ea9ec..2536112f99 100644 --- a/package/tensorflow-lite/Config.in +++ b/package/tensorflow-lite/Config.in @@ -31,9 +31,8 @@ config BR2_PACKAGE_TENSORFLOW_LITE https://www.tensorflow.org/ -comment "tensorflow-lite needs a toolchain w/ gcc >= 10, C++, threads" +comment "tensorflow-lite needs a glibc toolchain w/ gcc >= 10, C++, threads, dynamic libraries" + depends on BR2_PACKAGE_TENSORFLOW_LITE_ARCH_SUPPORTS depends on !BR2_TOOLCHAIN_USES_GLIBC || !BR2_INSTALL_LIBSTDCPP || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_10 || !BR2_TOOLCHAIN_HAS_THREADS - -comment "tensorflow-lite needs a toolchain w/ shared libraries" - depends on !BR2_SHARED_LIBS + !BR2_TOOLCHAIN_GCC_AT_LEAST_10 || !BR2_TOOLCHAIN_HAS_THREADS || \ + BR2_STATIC_LIBS