Skip to content

Commit

Permalink
tensorflow-lite: fix meta-neural-network paths
Browse files Browse the repository at this point in the history
The tensorflow-lite_2.* recipe from meta-neural-network installs
the library and pkg-config files as tensorflow2-lite*, because their
users may use several versions of the same library.

However packages such as libcamera-apps expect tensorflow-lite* files.

While this is being discussed with the upstream meta-neural-network
layer, adding a dynamic bbappend in meta-raspberrypi also helps
documenting the support for this tensorflow-lite provider.

Refs nnstreamer/meta-neural-network#85

Signed-off-by: Vivien Didelot <[email protected]>
  • Loading branch information
vivien committed Sep 21, 2023
1 parent 7a98c8f commit 39e1726
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# https://github.com/nnstreamer/meta-neural-network/pull/85
do_install:append () {
ln -sf libtensorflow2-lite.a ${D}${libdir}/libtensorflow-lite.a
ln -sf tensorflow2-lite.pc ${D}${libdir}/pkgconfig/tensorflow-lite.pc
}

0 comments on commit 39e1726

Please sign in to comment.