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.* package 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 expect tensorflow-lite* files.

While this could ideally be fixed in the meta-neural-network layer,
adding a dynamic bbappend in meta-raspberrypi also helps documenting
the support for this tensorflow-lite provider.

Signed-off-by: Vivien Didelot <[email protected]>
  • Loading branch information
vivien committed Aug 17, 2023
1 parent bf9147c commit ae60230
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
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 ae60230

Please sign in to comment.