From: Martin Jansa Date: Thu, 13 Oct 2011 09:04:41 +0000 (+0200) Subject: mesa-git: lower D_P a bit more then all mesa-dri X-Git-Tag: 2015-4~13088 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=bbe27f82bbf58b8cfd142e11e90f58c04ff3168a;p=openembedded-core.git 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 --- diff --git a/meta/recipes-graphics/mesa/mesa-dri_git.bb b/meta/recipes-graphics/mesa/mesa-dri_git.bb index 9c2c6a1b41..15cde609d2 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 7f827a70aa..97cac51744 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"