From 83e81485aa1a8454fdf78c624f61e75abca4067a Mon Sep 17 00:00:00 2001 From: Constantin Musca Date: Mon, 24 Dec 2012 13:28:40 +0200 Subject: [PATCH] xorg-driver: enable multilib [YOCTO #3438] (From OE-Core rev: 87be2314fe0e67a616b4f713106b4ae46931f5cb) Signed-off-by: Constantin Musca Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- meta/recipes-graphics/xorg-driver/xorg-driver-common.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/meta/recipes-graphics/xorg-driver/xorg-driver-common.inc b/meta/recipes-graphics/xorg-driver/xorg-driver-common.inc index aabf86b95c..5f5d282e54 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)