Add OpenVX Khronos tutorial example
cover Add OpenVX Khronos tutorial example
Add OpenVX Khronos tutorial example building upon TIOVX:
* Build and install example binary
* License is updated with the newly added example
* Make the test and tutorial example from the top-level makefile
* Enable native compilation of the test and tutorial example on target
Hongmei Gou (6):
tiovx-app-host: add Khronos tutorial example
tiovx-app-host: create SRCIPK packagegroup-arago-tisdk-addons-sdk-host: add tiovx-app-host-src
ti-tisdk-makefile: add tiovx-app-host
tiovx-app-host: enable compilation of app-host and tutorial example on
target
packagegroup-arago-tisdk-addons: add tiovx-app-host-examples
...ckagegroup-arago-tisdk-addons-sdk-host.bbappend | 6 +++- .../packagegroup-arago-tisdk-addons.bbappend | 4 +-- recipes-ti/tiovx/tiovx-app-host.bb | 39 +++++++++++++++++----- recipes-ti/tiovx/tiovx-sys.inc | 4 +-- .../ti-tisdk-makefile/Makefile_tiovx-app-host | 34 +++++++++++++++++++ .../ti-tisdk-makefile_1.0.bbappend | 5 ++- 6 files changed, 78 insertions(+), 14 deletions(-) create mode 100644 recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_tiovx-app-host
Signature · 1 line
1.9.1
PATCH 1/6 tiovx-app-host: add Khronos tutorial example
* bump SRCREV and version
* update SUMMARY, DESCRIPTION, LICENSE, and software manifest
* add DEPENDs on opencv
* build and install the example binary
--- recipes-ti/tiovx/tiovx-app-host.bb | 17 +++++++++-------- recipes-ti/tiovx/tiovx-sys.inc | 4 ++-- 2 files changed, 11 insertions(+), 10 deletions(-)
recipes-ti/tiovx/tiovx-app-host.bb +9 -8
@@ -1,32 +1,33 @@ -SUMMARY = "TI OpenVX HOST (Linux A15) conformance verification application, and Host side IPC implementation " -DESCRIPTION = "TI OpenVX implementation, TIOVX, includes Khronos defined conformance test as well as additional TI specific tests. This package creates application which runs all the tests (7K-8K). Same package includes IPC implementation (MessageQ based) needed for communication with DSP firmware (loaded at boot time) " +SUMMARY = "TI OpenVX HOST (Linux A15) conformance verification application, Khronos tutorial example, and Host side IPC implementation " +DESCRIPTION = "TI OpenVX implementation, TIOVX, includes Khronos defined conformance test and tutorial example, as well as additional TI specific tests. This package creates application which runs all the conformance tests (7K-8K) and Khronos tutorial exercise1. Same package includes IPC implementation (MessageQ based) needed for communication with DSP firmware (loaded at boot time) " -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://docs/manifest/TIOVX-APP-HOST_1.0.0.0_manifest.html;md5=de53bc8bf67ffa9a316fe48e3bacbf6d" +LICENSE = "BSD-3-Clause & MIT" +LIC_FILES_CHKSUM = "file://docs/manifest/TIOVX-APP-HOST_01.00.01.00_manifest.html;md5=247d7c56d783f583bf802490d5c93db3" require recipes-ti/includes/tisdk-paths.inc require tiovx-sys.inc -DEPENDS = " tiovx-sys-iface tiovx-lib-host ti-ipc cmem " +DEPENDS = " tiovx-sys-iface tiovx-lib-host ti-ipc cmem opencv" RDEPENDS_${PN} = " tiovx-sys-iface tiovx-sys-iface-firmware tiovx-lib-host ti-ipc cmem " -PR = "r2" +PR = "r0" COMPATIBLE_MACHINE = "dra7xx" PACKAGE_ARCH = "${MACHINE_ARCH}" -PROCLIST = "host" +PROCLIST = "host khronos_example" S = "${WORKDIR}/git" EXTRA_OEMAKE += " TARGET_ROOTDIR=${STAGING_DIR_HOST} " EXTRA_OEMAKE += " GCCLINARO=${TOOLCHAIN_PATH} TIOVXPATH=${TIOVX_INSTALL_DIR} IPCPATH=${IPC_INSTALL_DIR} " EXTRA_OEMAKE += " SDKPLATFORMIFPATH=${TIOVX_INSTALL_DIR}/sys-iface " -EXTRA_OEMAKE += " PROC_LIST=${PROCLIST} " +EXTRA_OEMAKE += " PROC_LIST='${PROCLIST}' " do_install () { install -d ${D}${bindir}/ install -m 0755 ${S}/host/bin/debug/app_host ${D}${bindir}/tiovx-app_host + install -m 0755 ${S}/khronos_example/bin/debug/opticalflow ${D}${bindir}/tiovx-opticalflow } FILES_${PN} += "${bindir}/*"
recipes-ti/tiovx/tiovx-sys.inc +2 -2
@@ -1,5 +1,5 @@ -PV = "01.00.00.00" +PV = "01.00.01.00" BRANCH="master" -SRCREV = "375fa639773970e433171686f01f360a9a5b2ad4" +SRCREV = "dc60c253a218fb3ec92fdeeaa454fce047f8964a" SRC_URI = "git://git.ti.com/processor-sdk/tiovx-app.git;protocol=git;branch=${BRANCH}"
Signature · 1 line
1.9.1
PATCH 2/6 tiovx-app-host: create SRCIPK
In reply to Hongmei Gou--- recipes-ti/tiovx/tiovx-app-host.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
recipes-ti/tiovx/tiovx-app-host.bb +4 -1
@@ -10,7 +10,7 @@ require tiovx-sys.inc DEPENDS = " tiovx-sys-iface tiovx-lib-host ti-ipc cmem opencv" RDEPENDS_${PN} = " tiovx-sys-iface tiovx-sys-iface-firmware tiovx-lib-host ti-ipc cmem " -PR = "r0" +PR = "r1" COMPATIBLE_MACHINE = "dra7xx" PACKAGE_ARCH = "${MACHINE_ARCH}"
@@ -30,5 +30,8 @@ do_install () { install -m 0755 ${S}/khronos_example/bin/debug/opticalflow ${D}${bindir}/tiovx-opticalflow } +CREATE_SRCIPK = "1" +SRCIPK_INSTALL_DIR = "example-applications/${PN}-${PV}" + FILES_${PN} += "${bindir}/*" INSANE_SKIP_${PN} = "ldflags"
Signature · 1 line
1.9.1
PATCH 3/6 packagegroup-arago-tisdk-addons-sdk-host: add tiovx-app-host-src
In reply to Hongmei Gou--- .../packagegroups/packagegroup-arago-tisdk-addons-sdk-host.bbappend | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-host.bbappend +5 -1
@@ -1,4 +1,4 @@ -PR_append = ".tisdk8" +PR_append = ".tisdk9" EXTRA_LIBS_append_am57xx-evm = " \ jailhouse-src \
@@ -11,3 +11,7 @@ EXTRA_LIBS_append_keystone = " \ UTILS_append_k2g = " \ pru-icss-src \ " + +EXTRA_LIBS_append_dra7xx = " \ + tiovx-app-host-src \ +"
Signature · 1 line
1.9.1
PATCH 4/6 ti-tisdk-makefile: add tiovx-app-host
In reply to Hongmei Gou--- .../ti-tisdk-makefile/Makefile_tiovx-app-host | 34 ++++++++++++++++++++++ .../ti-tisdk-makefile_1.0.bbappend | 5 +++- 2 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_tiovx-app-host
recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_tiovx-app-host new file +34 -0
@@ -0,0 +1,34 @@ +# tiovx-app-host build targets +tiovx-app-host: + @echo ===================================== + @echo Building TIOVX Host Application + @echo ===================================== + @cd example-applications; cd `find . -name "*tiovx-app-host*"`; . $(ENV_SETUP); make \ + TARGET_ROOTDIR=$(SDK_PATH_TARGET) \ + GCCLINARO=$(LINUX_DEVKIT_PATH)/sysroots/x86_64-arago-linux/usr \ + TIOVXPATH=$(SDK_PATH_TARGET)/usr/include/VX \ + IPCPATH=$(SDK_PATH_TARGET)/usr/share/ti/ti-ipc-tree \ + SDKPLATFORMIFPATH=$(SDK_PATH_TARGET)/usr/share/ti/ti-tiovx-lib-tree/sys-iface \ + PROC_LIST='host khronos_example' + +tiovx-app-host_install: + @echo ======================================= + @echo Installing TIOVX Host Application + @echo ======================================= + @if [ ! -d $(DESTDIR) ] ; then \ + echo "The extracted target filesystem directory doesn't exist."; \ + echo "Please run setup.sh in the SDK's root directory and then try again."; \ + exit 1; \ + fi + @cd example-applications; \ + cd `find . -name "*tiovx-app-host*"`; \ + install -m 0755 host/bin/debug/app_host $(DESTDIR)/usr/bin/tiovx-app_host; \ + install -m 0755 khronos_example/bin/debug/opticalflow $(DESTDIR)/usr/bin/tiovx-opticalflow + +tiovx-app-host_clean: + @echo ======================================= + @echo Cleaning TIOVX Host Application + @echo ======================================= + @cd example-applications; cd `find . -name "*tiovx-app-host*"`; . $(ENV_SETUP); \ + make PROC_LIST='host khronos_example' clean +
recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bbappend +4 -1
@@ -1,4 +1,4 @@ -PR_append = ".tisdk51" +PR_append = ".tisdk52" FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
@@ -8,6 +8,7 @@ SRC_URI_append = "\ file://Makefile_jailhouse \ file://Makefile_evse-hmi \ file://Makefile_protection-relays-hmi \ + file://Makefile_tiovx-app-host \ " SRC_URI_append_omap-a15 = " file://Makefile_big-data-ipc-demo"
@@ -46,6 +47,8 @@ MAKEFILES_append_am57xx-evm = " jailhouse" MAKEFILES_append_k2g = " pru-icss" +MAKEFILES_append_dra7xx = " tiovx-app-host" + MAKEFILES_remove_ti33x = "${@bb.utils.contains('MACHINE_FEATURES', 'sgx', '', 'ti-sgx-ddk-km', d)}" MAKEFILES_remove_ti43x = "${@bb.utils.contains('MACHINE_FEATURES', 'sgx', '', 'ti-sgx-ddk-km', d)}"
Signature · 1 line
1.9.1
PATCH 5/6 tiovx-app-host: enable compilation of app-host and tutorial example on target
In reply to Hongmei Gou* Copy source files and makefiles to target
* Create setenv.sh and copy it to target
* Create examples package with tiovx-lib-host dependencies specified
* Build procedure on target: "source setenv.sh; make"
--- recipes-ti/tiovx/tiovx-app-host.bb | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-)
recipes-ti/tiovx/tiovx-app-host.bb +21 -2
@@ -4,13 +4,19 @@ DESCRIPTION = "TI OpenVX implementation, TIOVX, includes Khronos defined conform LICENSE = "BSD-3-Clause & MIT" LIC_FILES_CHKSUM = "file://docs/manifest/TIOVX-APP-HOST_01.00.01.00_manifest.html;md5=247d7c56d783f583bf802490d5c93db3" +FILESEXTRAPATHS_prepend := "${THISDIR}/files:" + +SRC_URI_append += "\ + file://setenv.sh \ +" + require recipes-ti/includes/tisdk-paths.inc require tiovx-sys.inc DEPENDS = " tiovx-sys-iface tiovx-lib-host ti-ipc cmem opencv" RDEPENDS_${PN} = " tiovx-sys-iface tiovx-sys-iface-firmware tiovx-lib-host ti-ipc cmem " -PR = "r1" +PR = "r2" COMPATIBLE_MACHINE = "dra7xx" PACKAGE_ARCH = "${MACHINE_ARCH}"
@@ -28,10 +34,23 @@ do_install () { install -d ${D}${bindir}/ install -m 0755 ${S}/host/bin/debug/app_host ${D}${bindir}/tiovx-app_host install -m 0755 ${S}/khronos_example/bin/debug/opticalflow ${D}${bindir}/tiovx-opticalflow + + oe_runmake clean + install -d ${D}${datadir}/ti/examples/openvx + install -m 644 ${S}/products.mak ${D}${datadir}/ti/examples/openvx + install -m 644 ${S}/makefile ${D}${datadir}/ti/examples/openvx + install -m 644 ${WORKDIR}/setenv.sh ${D}${datadir}/ti/examples/openvx + cp -r ${S}/host ${D}${datadir}/ti/examples/openvx + cp -r ${S}/khronos_example ${D}${datadir}/ti/examples/openvx + cp -r ${S}/shared ${D}${datadir}/ti/examples/openvx } +PACKAGES += "${PN}-examples" +FILES_${PN}-examples = "${datadir}/ti/examples/openvx" +RDEPENDS_${PN}-examples = "tiovx-lib-host-staticdev tiovx-lib-host-dev" + CREATE_SRCIPK = "1" SRCIPK_INSTALL_DIR = "example-applications/${PN}-${PV}" FILES_${PN} += "${bindir}/*" -INSANE_SKIP_${PN} = "ldflags" +INSANE_SKIP_${PN} = "ldflags dev-deps"
Signature · 1 line
1.9.1
PATCH 6/6 packagegroup-arago-tisdk-addons: add tiovx-app-host-examples
In reply to Hongmei Gou--- recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bbappend | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bbappend +2 -2
@@ -1,4 +1,4 @@ -PR_append = "-tisdk45" +PR_append = "-tisdk46" EXTRA_PACKAGES_append_ti33x = " opencv" EXTRA_PACKAGES_append_ti43x = " opencv"
@@ -14,6 +14,6 @@ EXTRA_PACKAGES_append = " zbar hidapi" UTILS_append = " net-snmp net-snmp-server-snmpd" -EXTRA_PACKAGES_append_dra7xx = " tiovx-app-host kaldi ti-fftw-examples" +EXTRA_PACKAGES_append_dra7xx = " tiovx-app-host tiovx-app-host-examples kaldi ti-fftw-examples" EXTRA_PACKAGES_append_k2hk = " ti-fftw-examples"
Signature · 1 line
1.9.1
Re: [EXTERNAL] [meta-processor-sdk 5/6] [PATCH] tiovx-app-host: enable compilation of app-host and tutorial example on target
In reply to Hongmei GouQuoted 50 lines · Hongmei Gou
* Copy source files and makefiles to target
* Createsetenv.shand copy it to target
* Create examples package with tiovx-lib-host dependencies specified
* Build procedure on target: "sourcesetenv.sh; make"Signed-off-by Hongmei Gou <[email protected]>--- recipes-ti/tiovx/tiovx-app-host.bb | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-)recipes-ti/tiovx/tiovx-app-host.bb +16
-1@@ -4,13 +4,19 @@ DESCRIPTION = "TI OpenVX implementation, TIOVX, includes Khronos defined conform LICENSE = "BSD-3-Clause & MIT" LIC_FILES_CHKSUM = "file://docs/manifest/TIOVX-APP-HOST_01.00.01.00_manifest.html;md5=247d7c56d783f583bf802490d5c93db3" +FILESEXTRAPATHS_prepend := "${THISDIR}/files:" + +SRC_URI_append += "\ + file://setenv.sh \ +" + require recipes-ti/includes/tisdk-paths.inc require tiovx-sys.inc DEPENDS = " tiovx-sys-iface tiovx-lib-host ti-ipc cmem opencv" RDEPENDS_${PN} = " tiovx-sys-iface tiovx-sys-iface-firmware tiovx-lib-host ti-ipc cmem " -PR = "r1" +PR = "r2" COMPATIBLE_MACHINE = "dra7xx" PACKAGE_ARCH = "${MACHINE_ARCH}"@@ -28,10 +34,23 @@ do_install () { install -d ${D}${bindir}/ install -m 0755 ${S}/host/bin/debug/app_host ${D}${bindir}/tiovx-app_host install -m 0755 ${S}/khronos_example/bin/debug/opticalflow ${D}${bindir}/tiovx-opticalflow + + oe_runmake clean + install -d ${D}${datadir}/ti/examples/openvx + install -m 644 ${S}/products.mak ${D}${datadir}/ti/examples/openvx + install -m 644 ${S}/makefile ${D}${datadir}/ti/examples/openvx + install -m 644 ${WORKDIR}/setenv.sh ${D}${datadir}/ti/examples/openvx + cp -r ${S}/host ${D}${datadir}/ti/examples/openvx + cp -r ${S}/khronos_example ${D}${datadir}/ti/examples/openvx + cp -r ${S}/shared ${D}${datadir}/ti/examples/openvx }
recipes-ti/tiovx/tiovx-app-host.bb do_install () { · line 56
Quoted 10 lines
recipes-ti/tiovx/tiovx-app-host.bb +5
-1+PACKAGES += "${PN}-examples" +FILES_${PN}-examples = "${datadir}/ti/examples/openvx" +RDEPENDS_${PN}-examples = "tiovx-lib-host-staticdev tiovx-lib-host-dev" + CREATE_SRCIPK = "1" SRCIPK_INSTALL_DIR = "example-applications/${PN}-${PV}" FILES_${PN} += "${bindir}/*" -INSANE_SKIP_${PN} = "ldflags" +INSANE_SKIP_${PN} = "ldflags dev-deps"
Is this dev-deps skip necessary? Nothing changed in the dependencies of the main package.
Re: [EXTERNAL] [meta-processor-sdk 5/6] [PATCH] tiovx-app-host: enable compilation of app-host and tutorial example on target
Quoted 13 lines · Jacob Stiffler
Quoted 10 lines · Hongmei Gou
* Copy source files and makefiles to target
* Createsetenv.shand copy it to target
* Create examples package with tiovx-lib-host dependencies specified
* Build procedure on target: "sourcesetenv.sh; make"Signed-off-by Hongmei Gou <[email protected]>---
recipes-ti/tiovx/tiovx-app-host.bb | 23 +++++++++++++++++++++--1 file changed, 21 insertions(+), 2 deletions(-)
Quoted 13 lines
recipes-ti/tiovx/tiovx-app-host.bb DESCRIPTION = "TI OpenVX implementation, TIOVX, includes Khronos defined conform · line 11
Quoted 13 lines
recipes-ti/tiovx/tiovx-app-host.bb +0
-0@@ -4,13 +4,19 @@ DESCRIPTION = "TI OpenVX implementation, TIOVX,includes Khronos defined conform
LICENSE = "BSD-3-Clause & MIT"
LIC_FILES_CHKSUM= "file://docs/manifest/TIOVX-APP-HOST_01.00.01.00_manifest.html;md5=247d7c56d783f583bf802490d5c93db3" +FILESEXTRAPATHS_prepend := "${THISDIR}/files:"recipes-ti/tiovx/tiovx-app-host.bb +4
-0+ +SRC_URI_append += "\ + file://setenv.sh \ +"
And setenv.sh was not added in this patch.
Quoted 40 lines
Quoted 31 lines
+
require recipes-ti/includes/tisdk-paths.inc
require tiovx-sys.inc
DEPENDS = " tiovx-sys-iface tiovx-lib-host ti-ipc cmem opencv" RDEPENDS_${PN} = " tiovx-sys-iface tiovx-sys-iface-firmware tiovx-lib-host ti-ipc cmem " -PR = "r1"
+PR = "r2"
COMPATIBLE_MACHINE= "dra7xx"
PACKAGE_ARCH= "${MACHINE_ARCH}"recipes-ti/tiovx/tiovx-app-host.bb +0
-0@@ -28,10 +34,23 @@ do_install () {install -d ${D}${bindir}/
install -m 0755 ${S}/host/bin/debug/app_host ${D}${bindir}/tiovx-app_host install -m 0755 ${S}/khronos_example/bin/debug/opticalflow ${D}${bindir}/tiovx-opticalflow +
+oe_runmakeclean
+ install -d ${D}${datadir}/ti/examples/openvx
+ install -m 644 ${S}/products.mak ${D}${datadir}/ti/examples/openvx
+ install -m 644 ${S}/makefile ${D}${datadir}/ti/examples/openvx
+ install -m 644${WORKDIR}/setenv.sh
${D}${datadir}/ti/examples/openvx
+ cp -r ${S}/host ${D}${datadir}/ti/examples/openvx
+ cp -r ${S}/khronos_example ${D}${datadir}/ti/examples/openvx
+ cp -r ${S}/shared ${D}${datadir}/ti/examples/openvx
}
+PACKAGES += "${PN}-examples"recipes-ti/tiovx/tiovx-app-host.bb +3
-0+FILES_${PN}-examples = "${datadir}/ti/examples/openvx" +RDEPENDS_${PN}-examples = "tiovx-lib-host-staticdev tiovx-lib-host-dev" +
CREATE_SRCIPK= "1"
SRCIPK_INSTALL_DIR= "example-applications/${PN}-${PV}" FILES_${PN} += "${bindir}/*"recipes-ti/tiovx/tiovx-app-host.bb do_install () { · line 56
Quoted 2 lines
recipes-ti/tiovx/tiovx-app-host.bb +1
-1-INSANE_SKIP_${PN} = "ldflags" +INSANE_SKIP_${PN} = "ldflags dev-deps"Is this dev-deps skip necessary? Nothing changed in the dependencies of the main package.
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Re: [EXTERNAL] [meta-processor-sdk 5/6] [PATCH] tiovx-app-host: enable compilation of app-host and tutorial example on target
Thanks Jake. v2 patch is now submitted to add setenv.sh and skip dev-deps for the examples package.
Quoted 90 lines
-----Original Message-----
From: Stiffler, Jacob
Sent: Monday, March 19, 2018 3:36 PM
To: Gou, Hongmei; [email protected]
Subject: Re: [meta-arago] [EXTERNAL] [meta-processor-sdk 5/6] [PATCH]
tiovx-app-host: enable compilation of app-host and tutorial example on targetQuoted 13 lines · Jacob Stiffler
Quoted 10 lines · Hongmei Gou
* Copy source files and makefiles to target
* Createsetenv.shand copy it to target
* Create examples package with tiovx-lib-host dependencies specified
* Build procedure on target: "sourcesetenv.sh; make"Signed-off-by Hongmei Gou <[email protected]>---
recipes-ti/tiovx/tiovx-app-host.bb | 23 +++++++++++++++++++++--1 file changed, 21 insertions(+), 2 deletions(-)Quoted 10 lines
Quoted 10 lines
recipes-ti/tiovx/tiovx-app-host.bb +0
-0@@ -4,13 +4,19 @@ DESCRIPTION = "TI OpenVX implementation, TIOVX,includes Khronos defined conform
LICENSE = "BSD-3-Clause & MIT"
LIC_FILES_CHKSUM=
"file://docs/manifest/TIOVX-APP-HOST_01.00.01.00_manifest.html;md5=247d7c56d783f583bf802490d5c93db3 "
Quoted 5 lines
recipes-ti/tiovx/tiovx-app-host.bb DESCRIPTION = "TI OpenVX implementation, TIOVX, includes Khronos defined conform · line 11
Quoted 5 lines
+FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
recipes-ti/tiovx/tiovx-app-host.bb +4
-0+ +SRC_URI_append += "\ + file://setenv.sh \ +"And
setenv.shwas not added in this patch.Quoted 23 lines
Quoted 23 lines
+
require recipes-ti/includes/tisdk-paths.inc
require tiovx-sys.inc
DEPENDS = " tiovx-sys-iface tiovx-lib-host ti-ipc cmem opencv" RDEPENDS_${PN} = " tiovx-sys-iface tiovx-sys-iface-firmware tiovx-lib-host ti-ipc cmem "
-PR = "r1"
+PR = "r2"
COMPATIBLE_MACHINE= "dra7xx"
PACKAGE_ARCH= "${MACHINE_ARCH}"recipes-ti/tiovx/tiovx-app-host.bb +0
-0@@ -28,10 +34,23 @@ do_install () {install -d ${D}${bindir}/
install -m 0755 ${S}/host/bin/debug/app_host ${D}${bindir}/tiovx-app_host
install -m 0755 ${S}/khronos_example/bin/debug/opticalflow ${D}${bindir}/tiovx-opticalflow
+
+oe_runmakeclean
+ install -d ${D}${datadir}/ti/examples/openvx
+ install -m 644 ${S}/products.mak +${D}${datadir}/ti/examples/openvx
+ install -m 644 ${S}/makefile ${D}${datadir}/ti/examples/openvx + install -m 644${WORKDIR}/setenv.shQuoted 8 lines
recipes-ti/tiovx/tiovx-app-host.bb
Quoted 8 lines
${D}${datadir}/ti/examples/openvx
+ cp -r ${S}/host ${D}${datadir}/ti/examples/openvx + cp -r ${S}/khronos_example ${D}${datadir}/ti/examples/openvx + cp -r ${S}/shared ${D}${datadir}/ti/examples/openvx }
+PACKAGES += "${PN}-examples"recipes-ti/tiovx/tiovx-app-host.bb +2
-0+FILES_${PN}-examples = "${datadir}/ti/examples/openvx" +RDEPENDS_${PN}-examples = "tiovx-lib-host-staticdev tiovx-lib-host-dev"
Quoted 14 lines
recipes-ti/tiovx/tiovx-app-host.bb do_install () { · line 56
Quoted 6 lines
+
CREATE_SRCIPK= "1"
SRCIPK_INSTALL_DIR= "example-applications/${PN}-${PV}" FILES_${PN} += "${bindir}/*"recipes-ti/tiovx/tiovx-app-host.bb +1
-1-INSANE_SKIP_${PN} = "ldflags" +INSANE_SKIP_${PN} = "ldflags dev-deps"Is this dev-deps skip necessary? Nothing changed in the dependencies of the main package.
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago