summaryrefslogtreecommitdiff
path: root/recipes/dri
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/dri')
-rw-r--r--recipes/dri/glamo-dri-tests_git.bb17
1 files changed, 17 insertions, 0 deletions
diff --git a/recipes/dri/glamo-dri-tests_git.bb b/recipes/dri/glamo-dri-tests_git.bb
new file mode 100644
index 0000000000..81e0146e90
--- /dev/null
+++ b/recipes/dri/glamo-dri-tests_git.bb
@@ -0,0 +1,17 @@
+DEPENDS = "libdrm virtual/libx11 libxext"
+
+PV = "1.0.0+gitr${SRCREV}"
+
+SRC_URI = "git://git.bitwiz.org.uk/glamo-dri-tests.git;protocol=git;branch=master"
+
+inherit pkgconfig
+
+do_compile_prepend() {
+ export CROSS_CFLAGS=`pkg-config --cflags libdrm_glamo`
+}
+
+do_install() {
+ PREFIX=${D}/usr make install
+}
+
+S = "${WORKDIR}/git"