All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hongmei Gou <a0271529@ti.com>
To: <meta-arago@arago-project.org>
Cc: Hongmei Gou <a0271529@ti.com>, d-senicic1@ti.com
Subject: [master/thud/ti2019.03 4/4] ti-tisdk-makefile: include source for tiovx-app-host and add it to the top-level makefile
Date: Mon, 23 Sep 2019 15:21:21 -0400	[thread overview]
Message-ID: <20190923192121.29814-4-a0271529@ti.com> (raw)
In-Reply-To: <20190923192121.29814-1-a0271529@ti.com>

Signed-off-by: Hongmei Gou <a0271529@ti.com>
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
 .../conf/distro/include/arago-source-ipk.inc  |  3 ++
 .../ti-tisdk-makefile/Makefile_tiovx-app-host | 34 +++++++++++++++++++
 .../ti-tisdk-makefile_1.0.bb                  |  4 ++-
 3 files changed, 40 insertions(+), 1 deletion(-)
 create mode 100644 meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_tiovx-app-host

diff --git a/meta-arago-distro/conf/distro/include/arago-source-ipk.inc b/meta-arago-distro/conf/distro/include/arago-source-ipk.inc
index 6e56c771..aa9638f8 100644
--- a/meta-arago-distro/conf/distro/include/arago-source-ipk.inc
+++ b/meta-arago-distro/conf/distro/include/arago-source-ipk.inc
@@ -79,6 +79,9 @@ SRCIPK_INSTALL_DIR_pn-mmwavegesture-hmi = "example-applications/${PN}-${PV}"
 CREATE_SRCIPK_pn-pdm-anomaly-detection = "1"
 SRCIPK_INSTALL_DIR_pn-pdm-anomaly-detection = "example-applications/${PN}-${PV}"
 
+CREATE_SRCIPK_pn-tiovx-app-host = "1"
+SRCIPK_INSTALL_DIR_pn-tiovx-app-host = "example-applications/${PN}-${PV}"
+
 CREATE_SRCIPK_pn-image-gallery = "1"
 SRCIPK_INSTALL_DIR_pn-image-gallery = "example-applications/${PN}"
 
diff --git a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_tiovx-app-host b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_tiovx-app-host
new file mode 100644
index 00000000..f25472d3
--- /dev/null
+++ b/meta-arago-distro/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/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb
index 417b28b6..80ec54ea 100644
--- a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb
+++ b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb
@@ -51,11 +51,12 @@ SRC_URI = "\
     file://Makefile_sysfw-image \
     file://Makefile_mmwavegesture-hmi \
     file://Makefile_pdm-anomaly-detection \
+    file://Makefile_tiovx-app-host \
     file://Makefile_ti-ipc \
     file://Makefile_jailhouse \
 "
 
-PR = "r101"
+PR = "r102"
 
 MAKEFILES_MATRIX_GUI = "matrix-gui-browser \
                         refresh-screen \
@@ -124,6 +125,7 @@ MAKEFILES_append_dra7xx = " cryptodev \
                             openmpacc-examples \
                             qt-opencv-opencl-opengl-multithreaded \
                             linalg-examples \
+                            tiovx-app-host \
 "
 
 MAKEFILES_append_omap-a15 = " u-boot-spl \
-- 
2.17.1



      parent reply	other threads:[~2019-09-23 19:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-23 19:21 [master/thud/ti2019.03 1/4] tiovx-sys-iface: add interface header files between TIOVX library and IPC implementation Hongmei Gou
2019-09-23 19:21 ` [master/thud/ti2019.03 2/4] tiovx-lib-host: add recipe for TI OpenVX library, host side Hongmei Gou
2019-10-01 20:03   ` Denys Dmytriyenko
2019-10-07 20:19     ` Denys Dmytriyenko
2019-10-07 22:34       ` Gou, Hongmei
2019-09-23 19:21 ` [master/thud/ti2019.03 3/4] tiovx-app-host: TI OpenVX IPC HOST implementation and sample applications Hongmei Gou
2019-09-23 19:21 ` Hongmei Gou [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190923192121.29814-4-a0271529@ti.com \
    --to=a0271529@ti.com \
    --cc=d-senicic1@ti.com \
    --cc=meta-arago@arago-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.