hardknott: tensorflow-lite: rename to tensorflow-lite-coral

This makes it possible to distinguish between two different packages:

    * NXP's tensorflow-lite, which contains modifications for i.MX platforms
    * Our tensorflow-lite, which is meant to be used with Google Coral

Since tensorflow-lite-coral provides a subset of the files provided by
tensorflow-lite (specifically, the python libraries), make the packages
conflict during runtime.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
This commit is contained in:
Gabriel Valcazar 2021-12-29 16:45:16 +01:00
parent 28dedd9050
commit 01611bdf3e
3 changed files with 4 additions and 4 deletions

View File

@ -42,5 +42,8 @@ FILES_${PN} += "\
INSANE_SKIP_${PN} += "already-stripped"
# This package provides the same python files as NXP's tensorflow-lite
RCONFLICTS_${PN} = "tensorflow-lite"
COMPATIBLE_MACHINE = "(-)"
COMPATIBLE_MACHINE_aarch64 = "(.*)"

View File

@ -77,9 +77,6 @@ PREFERRED_PROVIDER_opencl-headers ?= "imx-gpu-viv"
# Use the FDO backend for WPE WebKit
PREFERRED_PROVIDER_virtual/wpebackend = "wpebackend-fdo"
# Use recipe from our meta-digi layer
PREFERRED_VERSION_tensorflow-lite ?= "2.5.0"
SDK_NAME = "${DISTRO}-${TCLIBC}-${SDKMACHINE}-${IMAGE_BASENAME}-${TUNE_PKGARCH}-${MACHINE}"
SDKPATHINSTALL = "/opt/${DISTRO}/${SDK_VERSION}/${MACHINE}"

View File

@ -22,7 +22,7 @@ RDEPENDS_${PN} = "${PYTHON_PN} \
${PYTHON_PN}-pygobject \
${PYTHON_PN}-pillow \
libedgetpu \
tensorflow-lite \
tensorflow-lite-coral \
"
inherit python3native