From patchwork Mon Dec 24 11:28:40 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [3/3] xorg-driver: enable multilib Date: Mon, 24 Dec 2012 11:28:40 -0000 From: Constantin Musca X-Patchwork-Id: 41661 Message-Id: <722fa68afe4075f46edb815108bc8b9503bf2d80.1356347599.git.constantinx.musca@intel.com> To: openembedded-core@lists.openembedded.org [YOCTO #3438] Signed-off-by: Constantin Musca --- 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 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)