From: Mrinmayee Hingolikar <[email protected]> * Migrated from meta-ti-glsdk layer but placed in meta-arago since it is not BSP related. Preserved authorship for Mrinmayee * Updated for upstream: * Use install instead of mkdir and cp * Use TOOLCHAIN_PREFIX instead of hard coded value for CROSS_COMPILE variable setting * Added DESCRIPTION value
Signed-off-by: Chase Maupin <[email protected]> --- .../recipes-graphics/bvtest/bvtest_git.bb | 30 ++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 meta-arago-extras/recipes-graphics/bvtest/bvtest_git.bb diff --git a/meta-arago-extras/recipes-graphics/bvtest/bvtest_git.bb b/meta-arago-extras/recipes-graphics/bvtest/bvtest_git.bb new file mode 100644 index 0000000..cac8f7f --- /dev/null +++ b/meta-arago-extras/recipes-graphics/bvtest/bvtest_git.bb @@ -0,0 +1,30 @@ +DESCRIPTION = "This is a bltsville userspace test application used to test \ +the sanity of bltsville implementation" + +HOMEPAGE = "https://git.ti.com/bvtest/bvtest" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://COPYING;md5=fc5539100b9be986fce191b19d2a48ae" +DEPENDS = "bltsville libdrm" + +inherit autotools pkgconfig + +PR = "r0" +SRCREV = "67e76ddf08703bd157935f666030c74a370b2836" + +SRC_URI = "git://git.ti.com/bvtest/bvtest.git;protocol=git" + +S = "${WORKDIR}/git" + + +do_compile() { + export CC_PATH=${TOOLCHAIN_PATH} + export CROSS_COMPILE=${TOOLCHAIN_PREFIX} + export BLTSVILLESEARCHPATH=${STAGING_DIR_TARGET}/usr + cd ${S}/src/bvtest + make -f makefile.linux +} + +do_install() { + install -d ${D}${bindir} + install -m 0755 ${S}/src/bvtest/bvtest ${D}${bindir} +} -- 1.7.9.5 _______________________________________________ meta-arago mailing list [email protected] http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
