From 101d543e38e5be14f2b545362fdc0d795c0fab24 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Tue, 15 Sep 2026 23:50:58 +0200 Subject: [PATCH] package/tensorflow-lite: fix Config.in comment This commit fixes 3 issues in the Config.in comment: - It is displayed even on unsupported CPU architectures, so we add a "depends on BR2_PACKAGE_TENSORFLOW_LITE_ARCH_SUPPORTS" - It doesn't mention the need for a glibc toolchain even though that's part of the dependencies - The requirement for dynamic lib support should be part of the same comment as the other dependencies Fixes: fd29fee3a3ac0ce45404ed256d2059836c352728 ("package/tensorflow-lite: new package") Signed-off-by: Thomas Petazzoni Signed-off-by: Julien Olivain --- package/tensorflow-lite/Config.in | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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