summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2011-10-13 11:04:41 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-10-14 12:20:29 +0100
commitbbe27f82bbf58b8cfd142e11e90f58c04ff3168a (patch)
tree7e262c5c08190bd9f2a3d857bc596fe078f7ebc3
parent3772045d457cb049c34fe3b046cc3a3bb9694c1c (diff)
downloadopenembedded-core-bbe27f82bbf58b8cfd142e11e90f58c04ff3168a.tar.gz
openembedded-core-bbe27f82bbf58b8cfd142e11e90f58c04ff3168a.tar.bz2
openembedded-core-bbe27f82bbf58b8cfd142e11e90f58c04ff3168a.tar.xz
openembedded-core-bbe27f82bbf58b8cfd142e11e90f58c04ff3168a.zip
mesa-git: lower D_P a bit more then all mesa-dri
* it needs to be done in .bb because mesa-dri.inc is included after mesa-git.inc * lower it for mesa-xlib to same value Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--meta/recipes-graphics/mesa/mesa-dri_git.bb4
-rw-r--r--meta/recipes-graphics/mesa/mesa-xlib_git.bb4
2 files changed, 8 insertions, 0 deletions
diff --git a/meta/recipes-graphics/mesa/mesa-dri_git.bb b/meta/recipes-graphics/mesa/mesa-dri_git.bb
index 9c2c6a1b4..15cde609d 100644
--- a/meta/recipes-graphics/mesa/mesa-dri_git.bb
+++ b/meta/recipes-graphics/mesa/mesa-dri_git.bb
@@ -1,6 +1,10 @@
include mesa-common.inc
include mesa-git.inc
include mesa-dri.inc
+
+# this needs to be lower than -1 because all mesa-dri have -1 and git version has highest PV, but shouldn't be default
+DEFAULT_PREFERENCE = "-2"
+
PR = "${INC_PR}.0"
COMPATIBLE_HOST = '(i.86|x86_64).*-linux'
diff --git a/meta/recipes-graphics/mesa/mesa-xlib_git.bb b/meta/recipes-graphics/mesa/mesa-xlib_git.bb
index 7f827a70a..97cac5174 100644
--- a/meta/recipes-graphics/mesa/mesa-xlib_git.bb
+++ b/meta/recipes-graphics/mesa/mesa-xlib_git.bb
@@ -1,4 +1,8 @@
include mesa-common.inc
include mesa-git.inc
include mesa-xlib.inc
+
+# this needs to be lower than -1 because all mesa-dri have -1 and git version has highest PV, but shouldn't be default
+DEFAULT_PREFERENCE = "-2"
+
PR = "${INC_PR}.0"