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:
parent
28dedd9050
commit
01611bdf3e
|
|
@ -42,5 +42,8 @@ FILES_${PN} += "\
|
||||||
|
|
||||||
INSANE_SKIP_${PN} += "already-stripped"
|
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 = "(-)"
|
||||||
COMPATIBLE_MACHINE_aarch64 = "(.*)"
|
COMPATIBLE_MACHINE_aarch64 = "(.*)"
|
||||||
|
|
@ -77,9 +77,6 @@ PREFERRED_PROVIDER_opencl-headers ?= "imx-gpu-viv"
|
||||||
# Use the FDO backend for WPE WebKit
|
# Use the FDO backend for WPE WebKit
|
||||||
PREFERRED_PROVIDER_virtual/wpebackend = "wpebackend-fdo"
|
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}"
|
SDK_NAME = "${DISTRO}-${TCLIBC}-${SDKMACHINE}-${IMAGE_BASENAME}-${TUNE_PKGARCH}-${MACHINE}"
|
||||||
SDKPATHINSTALL = "/opt/${DISTRO}/${SDK_VERSION}/${MACHINE}"
|
SDKPATHINSTALL = "/opt/${DISTRO}/${SDK_VERSION}/${MACHINE}"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ RDEPENDS_${PN} = "${PYTHON_PN} \
|
||||||
${PYTHON_PN}-pygobject \
|
${PYTHON_PN}-pygobject \
|
||||||
${PYTHON_PN}-pillow \
|
${PYTHON_PN}-pillow \
|
||||||
libedgetpu \
|
libedgetpu \
|
||||||
tensorflow-lite \
|
tensorflow-lite-coral \
|
||||||
"
|
"
|
||||||
|
|
||||||
inherit python3native
|
inherit python3native
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue