From bbe27f82bbf58b8cfd142e11e90f58c04ff3168a Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Thu, 13 Oct 2011 11:04:41 +0200 Subject: 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 --- meta/recipes-graphics/mesa/mesa-dri_git.bb | 4 ++++ meta/recipes-graphics/mesa/mesa-xlib_git.bb | 4 ++++ 2 files changed, 8 insertions(+) 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" -- cgit v1.2.3