Patchwork [3/3] xorg-driver: enable multilib

login
register
mail settings
Submitter Constantin Musca
Date Dec. 24, 2012, 11:28 a.m.
Message ID <722fa68afe4075f46edb815108bc8b9503bf2d80.1356347599.git.constantinx.musca@intel.com>
Download mbox | patch
Permalink /patch/41661/
State Accepted
Commit 83e81485aa1a8454fdf78c624f61e75abca4067a
Headers show

Comments

Constantin Musca - Dec. 24, 2012, 11:28 a.m.
[YOCTO #3438]

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
---
 meta/recipes-graphics/xorg-driver/xorg-driver-common.inc | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Patch

diff --git a/meta/recipes-graphics/xorg-driver/xorg-driver-common.inc b/meta/recipes-graphics/xorg-driver/xorg-driver-common.inc
index aabf86b..5f5d282 100644
--- a/meta/recipes-graphics/xorg-driver/xorg-driver-common.inc
+++ b/meta/recipes-graphics/xorg-driver/xorg-driver-common.inc
@@ -5,7 +5,7 @@  SECTION = "x11/drivers"
 LICENSE = "MIT-X"
 
 PE = "2"
-INC_PR = "r20"
+INC_PR = "r21"
 
 DEPENDS = "virtual/xserver xproto randrproto util-macros"
 
@@ -34,7 +34,8 @@  def add_abi_depends(d, name):
     }
 
     output = os.popen("pkg-config xorg-server --variable=%s" % abis[name]).read()
-    abi = "xorg-abi-%s-%s" % (name, output.split(".")[0])
+    mlprefix = d.getVar('MLPREFIX', True) or ''
+    abi = "%sxorg-abi-%s-%s" % (mlprefix, name, output.split(".")[0])
 
     pn = d.getVar("PN", True)
     d.appendVar('RDEPENDS_' + pn, ' ' + abi)