Denys, Can you please apply this to the ti2018.01 branch?
Thank you, Jake On 7/18/2018 2:17 PM, Djordje Senicic wrote:
* Three executables are added to the filesystem (along with sample configuration files), used for Caffe/TF model conversion and bit-exact emulation. Signed-off-by: Djordje Senicic <[email protected]> --- .../recipes-ti/tidl-utils/tidl-utils.bb | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 meta-arago-extras/recipes-ti/tidl-utils/tidl-utils.bb diff --git a/meta-arago-extras/recipes-ti/tidl-utils/tidl-utils.bb b/meta-arago-extras/recipes-ti/tidl-utils/tidl-utils.bb new file mode 100644 index 0000000..264b030 --- /dev/null +++ b/meta-arago-extras/recipes-ti/tidl-utils/tidl-utils.bb @@ -0,0 +1,40 @@ +SUMMARY = "TIDL Utilities and configuration files" +DESCRIPTION = "TIDL Utilities for standalone simulation and importing / translation of Caffe and TF-Slim models" +HOMEPAGE = "http://software-dl.ti.com/processor-sdk-linux/esd/docs/latest/linux/Foundational_Components.html#tidl" +LICENSE = "TI-TFL" + +PV = "1.0.0.0" +INC_PR = "r0" + +LIC_FILES_CHKSUM = "file://docs/LICENSE.txt;md5=a93aa5af7a3bbbb6fb34c8df59efaa5c" + +RDEPENDS_${PN} += " tidl-api tidl-examples " + +SRC_URI = "git://git.ti.com/tidl/tidl-utils.git;protocol=git;branch=master" +SRCREV = "93f66d2c53960b13b7e7f20208ee205f727aaf28" + +PR = "${INC_PR}.0" + +S = "${WORKDIR}/git" + +TARGET_class-target = "arm" +TARGET_class-native = "x86" +TARGET_class-nativesdk = "x86" + +CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership" + +do_install() { + install -d ${D}${bindir} + install -d ${D}${datadir}/ti/tidl/utils/test + install -d ${D}${datadir}/ti/tidl/utils/docs + install -m 755 ${S}/${TARGET}/bin/* ${D}${bindir} + cp ${CP_ARGS} ${S}/test/* ${D}${datadir}/ti/tidl/utils/test/. + cp ${CP_ARGS} ${S}/docs/* ${D}${datadir}/ti/tidl/utils/docs/. +} + +FILES_${PN} += " ${datadir}/ti/tidl/utils \ + ${bindir} " + +BBCLASSEXTEND = "native nativesdk" + +INSANE_SKIP_${PN} += "build-deps ldflags already-stripped "
_______________________________________________ meta-arago mailing list [email protected] http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
