Patchwork [1/4] drm: move to PR/INC_PR, starting at r1 as libdrm_git was at r1

login
register
mail settings
Submitter Ross Burton
Date July 27, 2012, 11:53 a.m.
Message ID <e1d46358cbbbf61bd50d268e52c6ed05e6a6bdbf.1343389943.git.ross.burton@intel.com>
Download mbox | patch
Permalink /patch/33217/
State Accepted
Commit a5f227d1325572d31f55bb8e8f0e8226687253bb
Headers show

Comments

Ross Burton - July 27, 2012, 11:53 a.m.
Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 meta/recipes-graphics/drm/libdrm.inc       |    2 ++
 meta/recipes-graphics/drm/libdrm_2.4.35.bb |    2 +-
 meta/recipes-graphics/drm/libdrm_git.bb    |    2 +-
 3 files changed, 4 insertions(+), 2 deletions(-)

Patch

diff --git a/meta/recipes-graphics/drm/libdrm.inc b/meta/recipes-graphics/drm/libdrm.inc
index 20d7f1f..8a2c760 100644
--- a/meta/recipes-graphics/drm/libdrm.inc
+++ b/meta/recipes-graphics/drm/libdrm.inc
@@ -10,6 +10,8 @@  SRC_URI = "http://dri.freedesktop.org/libdrm/libdrm-${PV}.tar.bz2"
 PROVIDES = "drm"
 DEPENDS = "libpthread-stubs udev cairo virtual/libx11"
 
+INC_PR = "r1"
+
 #libpciaccess is required starting from libdrm 2.4.26
 DEPENDS += " libpciaccess"
 
diff --git a/meta/recipes-graphics/drm/libdrm_2.4.35.bb b/meta/recipes-graphics/drm/libdrm_2.4.35.bb
index 3677b8d..9d9ada1 100644
--- a/meta/recipes-graphics/drm/libdrm_2.4.35.bb
+++ b/meta/recipes-graphics/drm/libdrm_2.4.35.bb
@@ -2,7 +2,7 @@  require libdrm.inc
 
 LIC_FILES_CHKSUM = "file://xf86drm.c;beginline=9;endline=32;md5=c8a3b961af7667c530816761e949dc71"
 
-PR = "r0"
+PR = "${INC_PR}.0"
 
 SRC_URI += "file://installtests.patch \
             file://GNU_SOURCE_definition.patch \
diff --git a/meta/recipes-graphics/drm/libdrm_git.bb b/meta/recipes-graphics/drm/libdrm_git.bb
index c2f9855..d71b7f7 100644
--- a/meta/recipes-graphics/drm/libdrm_git.bb
+++ b/meta/recipes-graphics/drm/libdrm_git.bb
@@ -6,4 +6,4 @@  S = "${WORKDIR}/git"
 
 SRCREV = "3f3c5be6f908272199ccf53f108b1124bfe0a00e"
 PV = "2.4.15+git${SRCPV}"
-PR = "r1"
+PR = "${INC_PR}.0"