- 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 <[email protected]>
---
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

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

Reply via email to