Samples tests for GC320 chipset in TI SoCs.

Signed-off-by: Gowtham Tammana <g-tamm...@ti.com>
Signed-off-by: Eric Ruei <e-ru...@ti.com>
---
 .../ti-gc320-tests/ti-gc320-tests_5.0.11.p7.bb     | 31 ++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 
meta-arago-extras/recipes-graphics/ti-gc320-tests/ti-gc320-tests_5.0.11.p7.bb

diff --git 
a/meta-arago-extras/recipes-graphics/ti-gc320-tests/ti-gc320-tests_5.0.11.p7.bb 
b/meta-arago-extras/recipes-graphics/ti-gc320-tests/ti-gc320-tests_5.0.11.p7.bb
new file mode 100644
index 0000000..ef0b6c0
--- /dev/null
+++ 
b/meta-arago-extras/recipes-graphics/ti-gc320-tests/ti-gc320-tests_5.0.11.p7.bb
@@ -0,0 +1,31 @@
+DESCRIPTION = "Test application for GC320 2D API"
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = 
"file://dra7x-sdk-ti-gc320-tests_manifest.html;md5=22a001855467f373c47f45de5330e3c9"
+
+DEPENDS = "ti-gc320-libs"
+
+BRANCH = "ti-${PV}"
+
+SRC_URI = 
"git://git.ti.com/graphics/ti-gc320-test.git;protocol=git;branch=${BRANCH}"
+SRCREV = "d8df0699308179b20d4a0ce69972db92eca914af"
+PR = "r1"
+
+S = "${WORKDIR}/git"
+
+EXTRA_OEMAKE += "AQROOT=${S}/tests/src -f makefile.linux 
TOOLCHAIN_PATH=${TOOLCHAIN_PATH} CROSS_COMPILE=${TARGET_PREFIX} 
ARCH_TYPE=${TARGET_ARCH} CPU_TYPE=cortex-a15 VIVANTE_SDK_INC=${S}/sdk/include 
VIVANTE_SDK_LIB=${STAGING_DIR_TARGET}/usr/lib DESTDIR=${D} 
TARGET_PRODUCT=${TARGET_PRODUCT} LIBDIR=${libdir} SDK_DIR=${S}/build/tests/ 
EGL_API_FB=1"
+
+do_install() {
+       cd ${S}/tests/src/test/hal/common/UnitTest
+    oe_runmake install
+       cd ${S}/tests/src/test/hal/common/UnitTest/galRunTest2
+       oe_runmake install
+
+       install -d ${D}${bindir}/GC320/tests/unit_test/
+
+       for file in ${S}/build/tests/samples/hal/unit_test/*; do
+               install -m 755 $file ${D}${bindir}/GC320/tests/unit_test/
+       done
+}
+
+INSANE_SKIP_${PN} += "ldflags"
-- 
1.9.1

_______________________________________________
meta-arago mailing list
meta-arago@arago-project.org
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to