From 8ad879736ec00ed644fe78a82cab2807783903be 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 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 (cherry picked from commit 101d543e38e5be14f2b545362fdc0d795c0fab24) [raphael: resolve conflicts] Signed-off-by: Raphaël Mélotte --- 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 baaf5b6d86..4c448b0352 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 >= 8, C++, threads" +comment "tensorflow-lite needs a glibc toolchain w/ gcc >= 8, 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_8 || !BR2_TOOLCHAIN_HAS_THREADS - -comment "tensorflow-lite needs a toolchain w/ shared libraries" - depends on !BR2_SHARED_LIBS + !BR2_TOOLCHAIN_GCC_AT_LEAST_8 || !BR2_TOOLCHAIN_HAS_THREADS || \ + BR2_STATIC_LIBS