* [meta-processor-sdk 0/6] [PATCH] Add OpenVX Khronos tutorial example
@ 2018-03-19 18:35 Hongmei Gou
2018-03-19 18:35 ` [meta-processor-sdk 1/6] [PATCH] tiovx-app-host: add " Hongmei Gou
` (5 more replies)
0 siblings, 6 replies; 10+ messages in thread
From: Hongmei Gou @ 2018-03-19 18:35 UTC (permalink / raw)
To: meta-arago; +Cc: Hongmei Gou
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
--
1.9.1
^ permalink raw reply [flat|nested] 10+ messages in thread
* [meta-processor-sdk 1/6] [PATCH] tiovx-app-host: add Khronos tutorial example
2018-03-19 18:35 [meta-processor-sdk 0/6] [PATCH] Add OpenVX Khronos tutorial example Hongmei Gou
@ 2018-03-19 18:35 ` Hongmei Gou
2018-03-19 18:35 ` [meta-processor-sdk 2/6] [PATHC] tiovx-app-host: create SRCIPK Hongmei Gou
` (4 subsequent siblings)
5 siblings, 0 replies; 10+ messages in thread
From: Hongmei Gou @ 2018-03-19 18:35 UTC (permalink / raw)
To: meta-arago; +Cc: Hongmei Gou
* bump SRCREV and version
* update SUMMARY, DESCRIPTION, LICENSE, and software manifest
* add DEPENDs on opencv
* build and install the example binary
Signed-off-by: Hongmei Gou <a0271529@ti.com>
---
recipes-ti/tiovx/tiovx-app-host.bb | 17 +++++++++--------
recipes-ti/tiovx/tiovx-sys.inc | 4 ++--
2 files changed, 11 insertions(+), 10 deletions(-)
diff --git a/recipes-ti/tiovx/tiovx-app-host.bb b/recipes-ti/tiovx/tiovx-app-host.bb
index 097fede..c45c4b8 100644
--- a/recipes-ti/tiovx/tiovx-app-host.bb
+++ b/recipes-ti/tiovx/tiovx-app-host.bb
@@ -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}/*"
diff --git a/recipes-ti/tiovx/tiovx-sys.inc b/recipes-ti/tiovx/tiovx-sys.inc
index 43c4e1d..e45f130 100644
--- a/recipes-ti/tiovx/tiovx-sys.inc
+++ b/recipes-ti/tiovx/tiovx-sys.inc
@@ -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}"
--
1.9.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [meta-processor-sdk 2/6] [PATHC] tiovx-app-host: create SRCIPK
2018-03-19 18:35 [meta-processor-sdk 0/6] [PATCH] Add OpenVX Khronos tutorial example Hongmei Gou
2018-03-19 18:35 ` [meta-processor-sdk 1/6] [PATCH] tiovx-app-host: add " Hongmei Gou
@ 2018-03-19 18:35 ` Hongmei Gou
2018-03-19 18:35 ` [meta-processor-sdk 3/6] [PATCH] packagegroup-arago-tisdk-addons-sdk-host: add tiovx-app-host-src Hongmei Gou
` (3 subsequent siblings)
5 siblings, 0 replies; 10+ messages in thread
From: Hongmei Gou @ 2018-03-19 18:35 UTC (permalink / raw)
To: meta-arago; +Cc: Hongmei Gou
Signed-off-by: Hongmei Gou <a0271529@ti.com>
---
recipes-ti/tiovx/tiovx-app-host.bb | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/recipes-ti/tiovx/tiovx-app-host.bb b/recipes-ti/tiovx/tiovx-app-host.bb
index c45c4b8..eb312b3 100644
--- a/recipes-ti/tiovx/tiovx-app-host.bb
+++ b/recipes-ti/tiovx/tiovx-app-host.bb
@@ -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"
--
1.9.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [meta-processor-sdk 3/6] [PATCH] packagegroup-arago-tisdk-addons-sdk-host: add tiovx-app-host-src
2018-03-19 18:35 [meta-processor-sdk 0/6] [PATCH] Add OpenVX Khronos tutorial example Hongmei Gou
2018-03-19 18:35 ` [meta-processor-sdk 1/6] [PATCH] tiovx-app-host: add " Hongmei Gou
2018-03-19 18:35 ` [meta-processor-sdk 2/6] [PATHC] tiovx-app-host: create SRCIPK Hongmei Gou
@ 2018-03-19 18:35 ` Hongmei Gou
2018-03-19 18:35 ` [meta-processor-sdk 4/6] [PATCH] ti-tisdk-makefile: add tiovx-app-host Hongmei Gou
` (2 subsequent siblings)
5 siblings, 0 replies; 10+ messages in thread
From: Hongmei Gou @ 2018-03-19 18:35 UTC (permalink / raw)
To: meta-arago; +Cc: Hongmei Gou
Signed-off-by: Hongmei Gou <a0271529@ti.com>
---
.../packagegroups/packagegroup-arago-tisdk-addons-sdk-host.bbappend | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-host.bbappend b/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-host.bbappend
index b8d7bca..8b18684 100644
--- a/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-host.bbappend
+++ b/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-host.bbappend
@@ -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 \
+"
--
1.9.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [meta-processor-sdk 4/6] [PATCH] ti-tisdk-makefile: add tiovx-app-host
2018-03-19 18:35 [meta-processor-sdk 0/6] [PATCH] Add OpenVX Khronos tutorial example Hongmei Gou
` (2 preceding siblings ...)
2018-03-19 18:35 ` [meta-processor-sdk 3/6] [PATCH] packagegroup-arago-tisdk-addons-sdk-host: add tiovx-app-host-src Hongmei Gou
@ 2018-03-19 18:35 ` Hongmei Gou
2018-03-19 18:35 ` [meta-processor-sdk 5/6] [PATCH] tiovx-app-host: enable compilation of app-host and tutorial example on target Hongmei Gou
2018-03-19 18:35 ` [meta-processor-sdk 6/6] [PATCH] packagegroup-arago-tisdk-addons: add tiovx-app-host-examples Hongmei Gou
5 siblings, 0 replies; 10+ messages in thread
From: Hongmei Gou @ 2018-03-19 18:35 UTC (permalink / raw)
To: meta-arago; +Cc: Hongmei Gou
Signed-off-by: Hongmei Gou <a0271529@ti.com>
---
.../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
diff --git a/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_tiovx-app-host b/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_tiovx-app-host
new file mode 100644
index 0000000..998368b
--- /dev/null
+++ b/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_tiovx-app-host
@@ -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
+
diff --git a/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bbappend b/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bbappend
index e609aae..d6a7d3d 100644
--- a/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bbappend
+++ b/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bbappend
@@ -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)}"
--
1.9.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [meta-processor-sdk 5/6] [PATCH] tiovx-app-host: enable compilation of app-host and tutorial example on target
2018-03-19 18:35 [meta-processor-sdk 0/6] [PATCH] Add OpenVX Khronos tutorial example Hongmei Gou
` (3 preceding siblings ...)
2018-03-19 18:35 ` [meta-processor-sdk 4/6] [PATCH] ti-tisdk-makefile: add tiovx-app-host Hongmei Gou
@ 2018-03-19 18:35 ` Hongmei Gou
2018-03-19 19:04 ` [EXTERNAL] " Jacob Stiffler
2018-03-19 18:35 ` [meta-processor-sdk 6/6] [PATCH] packagegroup-arago-tisdk-addons: add tiovx-app-host-examples Hongmei Gou
5 siblings, 1 reply; 10+ messages in thread
From: Hongmei Gou @ 2018-03-19 18:35 UTC (permalink / raw)
To: meta-arago; +Cc: 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"
Signed-off-by: Hongmei Gou <a0271529@ti.com>
---
recipes-ti/tiovx/tiovx-app-host.bb | 23 +++++++++++++++++++++--
1 file changed, 21 insertions(+), 2 deletions(-)
diff --git a/recipes-ti/tiovx/tiovx-app-host.bb b/recipes-ti/tiovx/tiovx-app-host.bb
index eb312b3..093025e 100644
--- a/recipes-ti/tiovx/tiovx-app-host.bb
+++ b/recipes-ti/tiovx/tiovx-app-host.bb
@@ -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"
--
1.9.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [meta-processor-sdk 6/6] [PATCH] packagegroup-arago-tisdk-addons: add tiovx-app-host-examples
2018-03-19 18:35 [meta-processor-sdk 0/6] [PATCH] Add OpenVX Khronos tutorial example Hongmei Gou
` (4 preceding siblings ...)
2018-03-19 18:35 ` [meta-processor-sdk 5/6] [PATCH] tiovx-app-host: enable compilation of app-host and tutorial example on target Hongmei Gou
@ 2018-03-19 18:35 ` Hongmei Gou
5 siblings, 0 replies; 10+ messages in thread
From: Hongmei Gou @ 2018-03-19 18:35 UTC (permalink / raw)
To: meta-arago; +Cc: Hongmei Gou
Signed-off-by: Hongmei Gou <a0271529@ti.com>
---
recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bbappend | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bbappend b/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bbappend
index cb75be2..43640e2 100644
--- a/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bbappend
+++ b/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bbappend
@@ -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"
--
1.9.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [EXTERNAL] [meta-processor-sdk 5/6] [PATCH] tiovx-app-host: enable compilation of app-host and tutorial example on target
2018-03-19 18:35 ` [meta-processor-sdk 5/6] [PATCH] tiovx-app-host: enable compilation of app-host and tutorial example on target Hongmei Gou
@ 2018-03-19 19:04 ` Jacob Stiffler
2018-03-19 19:36 ` Jacob Stiffler
0 siblings, 1 reply; 10+ messages in thread
From: Jacob Stiffler @ 2018-03-19 19:04 UTC (permalink / raw)
To: Hongmei Gou, meta-arago
On 3/19/2018 2:35 PM, Hongmei Gou wrote:
> * 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"
>
> Signed-off-by: Hongmei Gou <a0271529@ti.com>
> ---
> recipes-ti/tiovx/tiovx-app-host.bb | 23 +++++++++++++++++++++--
> 1 file changed, 21 insertions(+), 2 deletions(-)
>
> diff --git a/recipes-ti/tiovx/tiovx-app-host.bb b/recipes-ti/tiovx/tiovx-app-host.bb
> index eb312b3..093025e 100644
> --- a/recipes-ti/tiovx/tiovx-app-host.bb
> +++ b/recipes-ti/tiovx/tiovx-app-host.bb
> @@ -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"
Is this dev-deps skip necessary? Nothing changed in the dependencies of
the main package.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [EXTERNAL] [meta-processor-sdk 5/6] [PATCH] tiovx-app-host: enable compilation of app-host and tutorial example on target
2018-03-19 19:04 ` [EXTERNAL] " Jacob Stiffler
@ 2018-03-19 19:36 ` Jacob Stiffler
2018-03-19 20:15 ` Gou, Hongmei
0 siblings, 1 reply; 10+ messages in thread
From: Jacob Stiffler @ 2018-03-19 19:36 UTC (permalink / raw)
To: Hongmei Gou, meta-arago
On 3/19/2018 3:04 PM, Jacob Stiffler wrote:
>
>
> On 3/19/2018 2:35 PM, Hongmei Gou wrote:
>> * 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"
>>
>> Signed-off-by: Hongmei Gou <a0271529@ti.com>
>> ---
>> recipes-ti/tiovx/tiovx-app-host.bb | 23 +++++++++++++++++++++--
>> 1 file changed, 21 insertions(+), 2 deletions(-)
>>
>> diff --git a/recipes-ti/tiovx/tiovx-app-host.bb
>> b/recipes-ti/tiovx/tiovx-app-host.bb
>> index eb312b3..093025e 100644
>> --- a/recipes-ti/tiovx/tiovx-app-host.bb
>> +++ b/recipes-ti/tiovx/tiovx-app-host.bb
>> @@ -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 \
>> +"
And setenv.sh was not added in this patch.
>> +
>> 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"
>
> Is this dev-deps skip necessary? Nothing changed in the dependencies
> of the main package.
>
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [EXTERNAL] [meta-processor-sdk 5/6] [PATCH] tiovx-app-host: enable compilation of app-host and tutorial example on target
2018-03-19 19:36 ` Jacob Stiffler
@ 2018-03-19 20:15 ` Gou, Hongmei
0 siblings, 0 replies; 10+ messages in thread
From: Gou, Hongmei @ 2018-03-19 20:15 UTC (permalink / raw)
To: Stiffler, Jacob, meta-arago
Thanks Jake. v2 patch is now submitted to add setenv.sh and skip dev-deps for the examples package.
> -----Original Message-----
> From: Stiffler, Jacob
> Sent: Monday, March 19, 2018 3:36 PM
> To: Gou, Hongmei; meta-arago@arago-project.org
> Subject: Re: [meta-arago] [EXTERNAL] [meta-processor-sdk 5/6] [PATCH]
> tiovx-app-host: enable compilation of app-host and tutorial example on
> target
>
>
>
> On 3/19/2018 3:04 PM, Jacob Stiffler wrote:
> >
> >
> > On 3/19/2018 2:35 PM, Hongmei Gou wrote:
> >> * 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"
> >>
> >> Signed-off-by: Hongmei Gou <a0271529@ti.com>
> >> ---
> >> recipes-ti/tiovx/tiovx-app-host.bb | 23 +++++++++++++++++++++--
> >> 1 file changed, 21 insertions(+), 2 deletions(-)
> >>
> >> diff --git a/recipes-ti/tiovx/tiovx-app-host.bb
> >> b/recipes-ti/tiovx/tiovx-app-host.bb
> >> index eb312b3..093025e 100644
> >> --- a/recipes-ti/tiovx/tiovx-app-host.bb
> >> +++ b/recipes-ti/tiovx/tiovx-app-host.bb
> >> @@ -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 \
> >> +"
>
> And setenv.sh was not added in this patch.
>
> >> +
> >> 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"
> >
> > Is this dev-deps skip necessary? Nothing changed in the dependencies
> > of the main package.
> >
> > _______________________________________________
> > meta-arago mailing list
> > meta-arago@arago-project.org
> > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2018-03-19 20:16 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-19 18:35 [meta-processor-sdk 0/6] [PATCH] Add OpenVX Khronos tutorial example Hongmei Gou
2018-03-19 18:35 ` [meta-processor-sdk 1/6] [PATCH] tiovx-app-host: add " Hongmei Gou
2018-03-19 18:35 ` [meta-processor-sdk 2/6] [PATHC] tiovx-app-host: create SRCIPK Hongmei Gou
2018-03-19 18:35 ` [meta-processor-sdk 3/6] [PATCH] packagegroup-arago-tisdk-addons-sdk-host: add tiovx-app-host-src Hongmei Gou
2018-03-19 18:35 ` [meta-processor-sdk 4/6] [PATCH] ti-tisdk-makefile: add tiovx-app-host Hongmei Gou
2018-03-19 18:35 ` [meta-processor-sdk 5/6] [PATCH] tiovx-app-host: enable compilation of app-host and tutorial example on target Hongmei Gou
2018-03-19 19:04 ` [EXTERNAL] " Jacob Stiffler
2018-03-19 19:36 ` Jacob Stiffler
2018-03-19 20:15 ` Gou, Hongmei
2018-03-19 18:35 ` [meta-processor-sdk 6/6] [PATCH] packagegroup-arago-tisdk-addons: add tiovx-app-host-examples Hongmei Gou
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.