diff mbox series

[meta-arago,master,v,1/1] tensorflow-lite: Fix file packaging for headers and symlinks

Message ID 20260423075408.1886225-2-p-deshmukh@ti.com
State Under Review
Delegated to: Ryan Eatmon
Headers show
Series Fix TensorFlow Lite development file packaging issues | expand

Commit Message

Pratham Deshmukh April 23, 2026, 7:54 a.m. UTC
The TensorFlow Lite recipe was missing proper packaging directives for
development files, causing two issues:

1. Headers installed to ${includedir} were not being packaged into any
   specific package, resulting in missing headers in the final rootfs
   despite being built and installed correctly.

2. Unversioned .so symlinks (libtensorflow-lite.so, libtensorflowlite.so)
   were incorrectly placed in the main runtime package instead of the
   development package, triggering QA error [dev-so].

Add FILES:${PN}-dev to properly assign development files:
   - ${includedir}/* for TensorFlow Lite headers
   - libdir}/lib*.so for unversioned shared library symlinks

Signed-off-by: Pratham Deshmukh <p-deshmukh@ti.com>
---
 .../tensorflow-lite/tensorflow-lite_2.20.0.bb                | 5 +++++
 1 file changed, 5 insertions(+)
diff mbox series

Patch

diff --git a/meta-arago-extras/recipes-framework/tensorflow-lite/tensorflow-lite_2.20.0.bb b/meta-arago-extras/recipes-framework/tensorflow-lite/tensorflow-lite_2.20.0.bb
index 559ec5ef..75889b7e 100644
--- a/meta-arago-extras/recipes-framework/tensorflow-lite/tensorflow-lite_2.20.0.bb
+++ b/meta-arago-extras/recipes-framework/tensorflow-lite/tensorflow-lite_2.20.0.bb
@@ -229,6 +229,11 @@  FILES:${PN}-tools = " \
     /opt/* \
 "
 
+FILES:${PN}-dev += " \
+    ${includedir}/* \
+    ${libdir}/lib*.so \
+"
+
 FILES:python3-${PN} = " \
     ${PYTHON_SITEPACKAGES_DIR}/tflite_runtime \
     ${PYTHON_SITEPACKAGES_DIR}/tflite_runtime.egg-info \