summaryrefslogtreecommitdiffstats
path: root/recipes/dri
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2009-11-18 10:27:49 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2009-12-22 13:42:26 +0100
commit4fd62efecf86b97028c8d3a31356430397453b36 (patch)
treebfa242e3fe078b35ebecd95baa19028055340025 /recipes/dri
parent2e6c889008d6490c8168e08b0a5b4c856c6fcd1c (diff)
downloadopenembedded-4fd62efecf86b97028c8d3a31356430397453b36.tar.gz
libdrm: add git version for om-gta02
Diffstat (limited to 'recipes/dri')
-rw-r--r--recipes/dri/libdrm_git.bb24
1 files changed, 24 insertions, 0 deletions
diff --git a/recipes/dri/libdrm_git.bb b/recipes/dri/libdrm_git.bb
new file mode 100644
index 0000000000..1eabc20067
--- /dev/null
+++ b/recipes/dri/libdrm_git.bb
@@ -0,0 +1,24 @@
+SECTION = "x11/base"
+LICENSE = "MIT"
+SRC_URI = "git://anongit.freedesktop.org/mesa/drm;protocol=git;branch=master"
+SRC_URI_om-gta02 = "git://git.bitwiz.org.uk/libdrm.git;protocol=git;branch=glamo"
+
+PROVIDES = "drm"
+DEPENDS = "libpthread-stubs virtual/kernel"
+
+PE = "1"
+PV = "2.4.15+gitr${SRCREV}"
+PR = "r1"
+
+DEFAULT_PREFERENCE = "-1"
+DEFAULT_PREFERENCE_om-gta02 = "1"
+
+S = "${WORKDIR}/git"
+
+EXTRA_OECONF_append_om-gta02 = " --enable-glamo-experimental-api --disable-intel"
+
+inherit autotools pkgconfig
+
+do_stage() {
+ autotools_stage_all
+}