summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVladimir Barinov <vladimir.barinov@cogentembedded.com>2017-11-19 22:44:08 +0300
committerVladimir Barinov <vladimir.barinov@cogentembedded.com>2017-11-19 22:44:08 +0300
commit0eea03277607c9b06c9be2e99e4ac2b7f4c46c64 (patch)
treead24fe95593b6c65bb340a750061678dbf7e2fc3
parentb033920976b280166233b82d1db1c031afa9d8ea (diff)
Unit test for VIN-IMR-DRM camera capture pipe
-rw-r--r--meta-rcar-gen3-adas/recipes-bsp/utest-apps/files/utest-cam-imr-drm.tar.gzbin0 -> 56006 bytes
-rw-r--r--meta-rcar-gen3-adas/recipes-bsp/utest-apps/utest-cam-imr-drm.bb25
-rw-r--r--meta-rcar-gen3-adas/recipes-core/images/core-image-minimal.bbappend4
-rw-r--r--meta-rcar-gen3-adas/recipes-core/packagegroups/packagegroup-surroundview-drm.bb3
4 files changed, 29 insertions, 3 deletions
diff --git a/meta-rcar-gen3-adas/recipes-bsp/utest-apps/files/utest-cam-imr-drm.tar.gz b/meta-rcar-gen3-adas/recipes-bsp/utest-apps/files/utest-cam-imr-drm.tar.gz
new file mode 100644
index 0000000..7502d90
--- /dev/null
+++ b/meta-rcar-gen3-adas/recipes-bsp/utest-apps/files/utest-cam-imr-drm.tar.gz
Binary files differ
diff --git a/meta-rcar-gen3-adas/recipes-bsp/utest-apps/utest-cam-imr-drm.bb b/meta-rcar-gen3-adas/recipes-bsp/utest-apps/utest-cam-imr-drm.bb
new file mode 100644
index 0000000..48747ea
--- /dev/null
+++ b/meta-rcar-gen3-adas/recipes-bsp/utest-apps/utest-cam-imr-drm.bb
@@ -0,0 +1,25 @@
+SUMMARY = "Unit test for VIN-IMR-DRM camera capture pipe"
+LICENSE = "CLOSED"
+
+inherit cmake
+
+S = "${WORKDIR}/utest-cam-imr-drm"
+
+SRC_URI = " \
+ file://utest-cam-imr-drm.tar.gz \
+"
+
+DEPENDS = " \
+ libspnav \
+ libdrm \
+ gstreamer1.0-plugins-base \
+ mmngr-user-module \
+ mmngrbuf-user-module \
+"
+
+do_install() {
+ install -d ${D}${bindir}
+ install -m 755 ${S}/../build/utest/utest-cam-imr-drm ${D}${bindir}
+}
+
+EXTRA_OECMAKE += " -DCMAKE_SYSROOT=${STAGING_DIR_TARGET} "
diff --git a/meta-rcar-gen3-adas/recipes-core/images/core-image-minimal.bbappend b/meta-rcar-gen3-adas/recipes-core/images/core-image-minimal.bbappend
index 913dbf4..b33763d 100644
--- a/meta-rcar-gen3-adas/recipes-core/images/core-image-minimal.bbappend
+++ b/meta-rcar-gen3-adas/recipes-core/images/core-image-minimal.bbappend
@@ -1,3 +1,5 @@
IMAGE_INSTALL_append = " \
- packagegroup-surroundview-drm \
+ packagegroup-opencv-sdk \
+ packagegroup-surroundview-drm \
+ utest-cam-imr-drm \
"
diff --git a/meta-rcar-gen3-adas/recipes-core/packagegroups/packagegroup-surroundview-drm.bb b/meta-rcar-gen3-adas/recipes-core/packagegroups/packagegroup-surroundview-drm.bb
index 9a6fdda..f518caf 100644
--- a/meta-rcar-gen3-adas/recipes-core/packagegroups/packagegroup-surroundview-drm.bb
+++ b/meta-rcar-gen3-adas/recipes-core/packagegroups/packagegroup-surroundview-drm.bb
@@ -4,7 +4,7 @@ LICENSE = "GPL"
inherit packagegroup
PACKAGES = " \
- packagegroup-surroundview-drm \
+ packagegroup-surroundview-drm \
"
RDEPENDS_packagegroup-surroundview-drm = '${@ " \
@@ -16,5 +16,4 @@ RDEPENDS_packagegroup-surroundview-drm = '${@ " \
kernel-module-mmngr \
kernel-module-mmngrbuf \
mmngr-user-module \
- vspmif-user-module \
" if 'surroundview' in '${DISTRO_FEATURES}' else ""}'