Signed-off-by: Djordje Senicic <[email protected]>
---
 recipes-ti/includes/tisdk-paths.inc |  3 +++
 recipes-ti/tiovx/tiovx-sys-iface.bb | 32 ++++++++++++++++++++++++++++++++
 recipes-ti/tiovx/tiovx-sys.inc      |  5 +++++
 3 files changed, 40 insertions(+)
 create mode 100644 recipes-ti/tiovx/tiovx-sys-iface.bb
 create mode 100644 recipes-ti/tiovx/tiovx-sys.inc

diff --git a/recipes-ti/includes/tisdk-paths.inc 
b/recipes-ti/includes/tisdk-paths.inc
index e6c0e94..300f352 100644
--- a/recipes-ti/includes/tisdk-paths.inc
+++ b/recipes-ti/includes/tisdk-paths.inc
@@ -1 +1,4 @@
 require recipes-ti/includes/arago-paths.inc
+
+export TIOVX_INSTALL_DIR_RECIPE      = "${installdir}/ti-tiovx-lib-tree"
+export TIOVX_INSTALL_DIR      = 
"${STAGING_DIR_TARGET}${TIOVX_INSTALL_DIR_RECIPE}"
diff --git a/recipes-ti/tiovx/tiovx-sys-iface.bb 
b/recipes-ti/tiovx/tiovx-sys-iface.bb
new file mode 100644
index 0000000..f4728d9
--- /dev/null
+++ b/recipes-ti/tiovx/tiovx-sys-iface.bb
@@ -0,0 +1,32 @@
+SUMMARY = "TI OpenVX interface header files between TIOVX library and HOST, 
DSP IPC side implementation "
+DESCRIPTION = "Collection of header files needed to defined interface between 
TIOVX library and HOST and DSP IPC side implementation. In order to maintain 
source compatibility, directory structure follows VSDK source tree layout."
+
+LICENSE = "TI-TSPA"
+LIC_FILES_CHKSUM = 
"file://iface/VSDK/docs/TIOVX-SYS-IFACE_1.0.0.0_manifest.html;md5=10904cbdb4f065c025a63ca71ae7de2d"
+
+require recipes-ti/includes/ti-paths-append.inc
+require tiovx-sys.inc
+
+PR = "r1"
+
+COMPATIBLE_MACHINE = "dra7xx"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+S = "${WORKDIR}/git"
+
+do_install () {
+#   Install the header files
+    CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership"
+    install -d ${D}${TIOVX_INSTALL_DIR_RECIPE}/sys-iface
+    cp ${CP_ARGS} ${S}/iface/VSDK/* ${D}${TIOVX_INSTALL_DIR_RECIPE}/sys-iface
+    install -d ${D}/${base_libdir}/firmware
+    install -m 0644 ${S}/firmware/tiovx_dsp1.xe66 
${D}/${base_libdir}/firmware/dra7-dsp1-fw.xe66.openvx
+    install -m 0644 ${S}/firmware/tiovx_dsp2.xe66 
${D}/${base_libdir}/firmware/dra7-dsp2-fw.xe66.openvx
+}
+
+FILES_${PN} += "${TIOVX_INSTALL_DIR_RECIPE}/sys-iface/* "
+PACKAGES =+ "${PN}-firmware"
+FILES_${PN}-firmware = "${base_libdir}/firmware/*"
+
+INSANE_SKIP_${PN}-firmware = "arch"
+
diff --git a/recipes-ti/tiovx/tiovx-sys.inc b/recipes-ti/tiovx/tiovx-sys.inc
new file mode 100644
index 0000000..fc24947
--- /dev/null
+++ b/recipes-ti/tiovx/tiovx-sys.inc
@@ -0,0 +1,5 @@
+PV = "01.00.00.00"
+
+BRANCH="master"
+SRCREV = "c208217c5c3788c78d10ff0d25e5db9782e00be9"
+SRC_URI = 
"git://git.ti.com/processor-sdk/tiovx-app.git;protocol=git;branch=${BRANCH}"
-- 
1.9.1

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to