All of lore.kernel.org
 help / color / mirror / Atom feed
* [master/thud/ti2019.05][PATCH] neo-ai-dlr-demo: Add neo-ai-dlr-demo to example-applications
@ 2019-12-17 18:14 Djordje Senicic
  0 siblings, 0 replies; only message in thread
From: Djordje Senicic @ 2019-12-17 18:14 UTC (permalink / raw)
  To: meta-arago; +Cc: Djordje Senicic

- Add reduced size source package of neo-ai-dlr-demo, that is now included in example-applications
- neo-ai-dlr-demo is based on demos/cv/run_mobilenet_cv_mt.cc
- Include neo-ai-dlr-dev package, to enable top level makefile demo compilation, and compilation on target

Signed-off-by: Djordje Senicic <d-senicic1@ti.com>
---
Please apply this patch after http://patchwork.dal.design.ti.com/patch/51804/ is accepted.
Also please backport to ti2019.05.

 .../conf/distro/include/arago-source-ipk.inc  |  3 +++
 ...ackagegroup-arago-tisdk-addons-sdk-host.bb |  1 +
 ...kagegroup-arago-tisdk-addons-sdk-target.bb |  1 +
 .../packagegroup-arago-tisdk-addons.bb        |  1 +
 .../Makefile_neo-ai-dlr-demo                  | 19 +++++++++++++++++++
 .../ti-tisdk-makefile_1.0.bb                  |  2 ++
 6 files changed, 27 insertions(+)
 create mode 100644 meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_neo-ai-dlr-demo

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 c479a8c8..64fc5880 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-neo-ai-dlr-demo = "1"
+SRCIPK_INSTALL_DIR_pn-neo-ai-dlr-demo = "example-applications/${PN}-${PV}"
+
 CREATE_SRCIPK_pn-tiovx-app-host = "1"
 SRCIPK_INSTALL_DIR_pn-tiovx-app-host = "example-applications/${PN}-${PV}"
 
diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-host.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-host.bb
index fc11a175..87bcd279 100644
--- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-host.bb
+++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-host.bb
@@ -102,6 +102,7 @@ EXTRA_PACKAGES = ""
 
 EXTRA_PACKAGES_append_omap-a15 = " \
     pdm-anomaly-detection-src \
+    neo-ai-dlr-demo-src \
 "
 
 EXTRA_PACKAGES_append_ti33x = " \
diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-target.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-target.bb
index 7ba5143a..15503541 100644
--- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-target.bb
+++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-target.bb
@@ -176,6 +176,7 @@ EXTRA_PACKAGES_append_omap-a15 = " voxelsdk-dev \
                                 tensorflow-lite-dev \
                                 tensorflow-lite-staticdev \
                                 pdm-anomaly-detection-dev \
+                                neo-ai-dlr-demo-dev \
 "
 EXTRA_PACKAGES_append_am65xx = " arm-compute-library-dev \
                              ${ARMNN_PACKAGES} \
diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb
index 14b2370c..75e163bf 100644
--- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb
+++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb
@@ -171,6 +171,7 @@ EXTRA_PACKAGES_append_omap-a15 = " voxelsdk \
                                    ${ARMNN_PACKAGES} \
                                    tensorflow-lite-examples \
                                    pdm-anomaly-detection \
+                                   neo-ai-dlr-demo \
 "
 
 EXTRA_PACKAGES_append_am65xx = " arm-compute-library \
diff --git a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_neo-ai-dlr-demo b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_neo-ai-dlr-demo
new file mode 100644
index 00000000..60445f2a
--- /dev/null
+++ b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_neo-ai-dlr-demo
@@ -0,0 +1,19 @@
+# neo-ai-dlr-demo build targets
+neo-ai-dlr-demo:
+	@echo =============================
+	@echo    Building NEO-AI-DLR Demo
+	@echo =============================
+	@cd example-applications; cd `find . -maxdepth 1 -type d -name "*neo-ai-dlr-demo*"`; make -f Makefile.build
+
+neo-ai-dlr-demo_clean:
+	@echo =============================
+	@echo    Cleaning NEO-AI-DLR Demo
+	@echo =============================
+	@cd example-applications; cd `find . -maxdepth 1 -type d -name "*neo-ai-dlr-demo*"`; make -f Makefile.build clean
+
+neo-ai-dlr-demo_install:
+	@echo ================================================
+	@echo   Installing NEO-AI-DLR Demo
+	@echo ================================================
+	@cd example-applications; cd `find . -maxdepth 1 -type d -name "*neo-ai-dlr-demo*"`; make -f Makefile.build install
+
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 2468bb45..354cb163 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
@@ -54,6 +54,7 @@ SRC_URI = "\
     file://Makefile_tiovx-app-host \
     file://Makefile_ti-ipc \
     file://Makefile_jailhouse \
+    file://Makefile_neo-ai-dlr-demo \
 "
 
 PR = "r102"
@@ -140,6 +141,7 @@ MAKEFILES_append_omap-a15 = " u-boot-spl \
                               uio-module-drv \
 			      mmwavegesture-hmi \
                               pdm-anomaly-detection \
+                              neo-ai-dlr-demo \
                               ti-ipc \
 "
 MAKEFILES_append_omapl138 = " linux-dtbs \
-- 
2.17.1



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-12-17 18:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-17 18:14 [master/thud/ti2019.05][PATCH] neo-ai-dlr-demo: Add neo-ai-dlr-demo to example-applications Djordje Senicic

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.