@@ -7,13 +7,6 @@ inherit_defer nativesdk
PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1"
-TIDL_TOOLS = ""
-#TIDL_TOOLS = " \
-# nativesdk-tidl-import \
-# nativesdk-tidl-viewer \
-# nativesdk-tidl-utils \
-#"
-
EXTRA_TI_TOOLS = " \
nativesdk-ti-cgt6x \
nativesdk-ti-cgt-pru \
@@ -22,7 +15,6 @@ EXTRA_TI_TOOLS = " \
nativesdk-open62541-examples \
nativesdk-open62541-tests \
nativesdk-gcc-arm-baremetal \
- ${@oe.utils.all_distro_features(d, "opencl opencv", "${TIDL_TOOLS}")} \
"
RDEPENDS:${PN} = "\
deleted file mode 100644
@@ -1,21 +0,0 @@
-PV = "1.5.1"
-INC_PR = "r0"
-
-LIC_FILES_CHKSUM = "file://license.txt;md5=e3daeabffb9fc131a73f16d16cbdb118"
-
-GIT_URI = "git://git.ti.com/git/tidl/tidl-api.git"
-GIT_PROTOCOL = "https"
-BRANCH = "master"
-
-SRC_URI = "${GIT_URI};protocol=${GIT_PROTOCOL};branch=${BRANCH}"
-SRCREV = "4b801ad96b50f53e977b96d8b227ba4bcb26e011"
-
-# default patchdir is ${S}
-S = "${WORKDIR}/git"
-
-inherit features_check
-
-REQUIRED_MACHINE_FEATURES = "dsp"
-REQUIRED_MACHINE_FEATURES:class-native = ""
-REQUIRED_MACHINE_FEATURES:class-nativesdk = ""
-REQUIRED_DISTRO_FEATURES = "opencl opencv"
deleted file mode 100644
@@ -1,57 +0,0 @@
-SUMMARY = "TIDL API"
-DESCRIPTION = "TIDL API header and library. Refer TIDL API User's Guide for details."
-HOMEPAGE = "https://downloads.ti.com/mctools/esd/docs/tidl-api/intro.html"
-LICENSE = "BSD-3-Clause"
-
-include tidl-api.inc
-require recipes-ti/includes/ti-paths.inc
-
-PR = "${INC_PR}.0"
-
-COMPATIBLE_MACHINE = "dra7xx"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-inherit python3native
-
-DEPENDS = "opencv \
- opencl \
- opencl-monitor \
- ti-cgt6x-native \
- clocl-native \
-"
-
-RDEPENDS:${PN} += "opencl-runtime \
- opencv \
-"
-
-EXTRA_OEMAKE = " -C ${S}/tidl_api \
- TARGET_ROOTDIR=${STAGING_DIR_HOST} \
- TI_OCL_CGT_INSTALL=${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x \
-"
-
-do_compile() {
- oe_runmake
-}
-
-CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership"
-
-TIDL_INSTALL_DIR = "${datadir}/ti/tidl"
-
-do_install() {
- install -d ${D}${TIDL_INSTALL_DIR}
- install -d ${D}${TIDL_INSTALL_DIR}/tidl_api
- install -d ${D}${TIDL_INSTALL_DIR}/viewer
- install -d ${D}${libdir}
- cp ${CP_ARGS} ${S}/tidl_api/libtidl_*.so* ${D}${libdir}
- rm -f ${S}/tidl_api/libtidl_*.so*
- cp ${CP_ARGS} ${S}/tidl_api/* ${D}${TIDL_INSTALL_DIR}/tidl_api/
- cp ${CP_ARGS} ${S}/viewer/* ${D}${TIDL_INSTALL_DIR}/viewer/
- install ${S}/readme.md ${D}${TIDL_INSTALL_DIR}/
-}
-
-FILES:${PN} += "\
- ${TIDL_INSTALL_DIR} \
-"
-
-
-INSANE_SKIP:${PN} = "arch ldflags textrel staticdev"
deleted file mode 100644
@@ -1,52 +0,0 @@
-SUMMARY = "TIDL API examples"
-DESCRIPTION = "Examples of TIDL API. Refer TIDL API User's Guide for details."
-HOMEPAGE = "https://downloads.ti.com/mctools/esd/docs/tidl-api/intro.html"
-LICENSE = "BSD-3-Clause"
-
-include tidl-api.inc
-require recipes-ti/includes/ti-paths.inc
-
-PR = "${INC_PR}.0"
-
-COMPATIBLE_MACHINE = "dra7xx"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-DEPENDS = "opencv \
- clocl-native \
- ti-cgt6x-native \
- tidl-api \
- json-c \
-"
-
-RDEPENDS:${PN} += "tidl-api \
- opencl-runtime \
- opencv \
- json-c \
- python3-core \
-"
-
-EXTRA_OEMAKE = " -C ${S}/examples \
- TARGET_ROOTDIR=${STAGING_DIR_HOST} \
- TI_OCL_CGT_INSTALL=${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x \
-"
-
-do_compile() {
- oe_runmake
-}
-
-CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership"
-
-TIDL_INSTALL_DIR = "${datadir}/ti/tidl"
-
-do_install() {
- install -d ${D}${TIDL_INSTALL_DIR}
- install -d ${D}${TIDL_INSTALL_DIR}/examples
- cp ${CP_ARGS} ${S}/examples/* ${D}${TIDL_INSTALL_DIR}/examples/
-}
-
-FILES:${PN} += "\
- ${TIDL_INSTALL_DIR} \
-"
-
-
-INSANE_SKIP:${PN} = "arch ldflags textrel staticdev"
deleted file mode 100644
@@ -1,33 +0,0 @@
-SUMMARY = "TIDL Network Viewer"
-DESCRIPTION = "TIDL Network viewer using dot and graphviz"
-HOMEPAGE = "https://downloads.ti.com/mctools/esd/docs/tidl-api/intro.html"
-LICENSE = "BSD-3-Clause"
-
-include tidl-api.inc
-
-PR = "${INC_PR}.0"
-
-DEPENDS = "boost boost-native ti-cgt6x-native clocl-native"
-
-TARGET:class-target = "arm"
-TARGET:class-native = "x86"
-TARGET:class-nativesdk = "x86"
-
-CXXFLAGS:append:class-native = " -DPLATFORM_64BIT "
-CXXFLAGS:append:class-nativesdk = " -DPLATFORM_64BIT "
-
-EXTRA_OEMAKE = " -C ${S}/viewer \
- TARGET=${TARGET} \
- TARGET_ROOTDIR=${STAGING_DIR_HOST} \
-"
-
-do_compile() {
- oe_runmake
-}
-
-do_install() {
- install -d ${D}${bindir}
- install -m 755 ${S}/viewer/${TARGET}/tidl_viewer ${D}${bindir}
-}
-
-BBCLASSEXTEND = "native nativesdk"
deleted file mode 100644
@@ -1,46 +0,0 @@
-SUMMARY = "TIDL import tool for conversion of Caffe and TF models into TI custom network format"
-DESCRIPTION = "TIDL import tool is using protobuf to read and parse information from external network models \
- This is ARM Linux implementation."
-
-require ./tidl-utils.inc
-
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://modules/ti_dl/inc/itidl_ti.h;beginline=1;endline=34;md5=cabe1fdaabfa0d85dc5544566b0e2425"
-
-S = "${WORKDIR}/git/src/importTool"
-
-DEPENDS = "protobuf zlib protobuf-native flatbuffers tensorflow-lite flatbuffers-native tensorflow-lite-native"
-
-EXTRA_OEMAKE += "TIARM_TOOLS=${GCC_ARM_NONE_TOOLCHAIN}"
-EXTRA_OEMAKE += "XDAIS_PATH=${XDAIS_INSTALL_DIR}"
-EXTRA_OEMAKE += "SHOW_COMMANDS=1"
-EXTRA_OEMAKE += "CORE=eve"
-EXTRA_OEMAKE += "TARGET_BUILD=release"
-EXTRA_OEMAKE += "TARGET_PLATFORM=PC"
-
-EXTRA_MAKE_ARGS = "PLATFORM_BUILD=x86 LINUXENV=x86 LINUX_IMPORT_TOOL=64BIT \
- PROTOBUF_LIB_DIR=${STAGING_DIR_NATIVE}/usr/lib PROTOBUF_INC_DIR=${STAGING_DIR_NATIVE}/usr/include \
- FLATBUFFERS_INC_DIR=${STAGING_DIR_NATIVE}$/usr/include/flatbuffers \
- TF_LITE_GENERATED_PATH=${STAGING_DIR_NATIVE}/usr/include/tensorflow/lite/schema"
-EXTRA_MAKE_ARGS:class-target = "LINUX_BUILD_TOOLS=${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX} \
- PROTOBUF_LIB_DIR=${STAGING_LIBDIR} PROTOBUF_INC_DIR=${STAGING_INCDIR} \
- FLATBUFFERS_INC_DIR=${STAGING_INCDIR}/flatbuffers \
- TF_LITE_GENERATED_PATH=${STAGING_INCDIR}/tensorflow/lite/schema LINUXENV=oearm"
-
-EXTRA_OEMAKE += "${EXTRA_MAKE_ARGS}"
-
-do_compile() {
- cd ${S}/modules/ti_dl/utils
- ./genProtoSrc.sh
- cd ${S}
- oe_runmake -C modules/ti_dl/utils/tidlModelImport
-}
-
-do_install () {
- install -d ${D}${bindir}
- install -m 755 ${S}/modules/ti_dl/utils/tidlModelImport/out/tidl_model_import.out ${D}${bindir}
-}
-
-INSANE_SKIP:${PN} = "ldflags"
-
-BBCLASSEXTEND = "native nativesdk"
deleted file mode 100644
@@ -1,34 +0,0 @@
-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"
-
-require ./tidl-utils.inc
-
-LIC_FILES_CHKSUM = "file://docs/LICENSE.txt;md5=a93aa5af7a3bbbb6fb34c8df59efaa5c"
-
-RDEPENDS:${PN}:class-target += "tidl-api tidl-examples"
-
-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"
deleted file mode 100644
@@ -1,4 +0,0 @@
-SRC_URI = "git://git.ti.com/git/tidl/tidl-utils.git;protocol=https;branch=master"
-SRCREV = "6a51b2aff1709c13edb3445bdb4698a28fbb2ae7"
-PV = "01.01.03.02"
-PR = "r1"