summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/xorg-driver
diff options
context:
space:
mode:
authorConstantin Musca <constantinx.musca@intel.com>2012-12-24 13:28:40 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-12-31 09:43:25 +0000
commit83e81485aa1a8454fdf78c624f61e75abca4067a (patch)
treee03b6e0870aec4a0bcebd5caa444159ea9494437 /meta/recipes-graphics/xorg-driver
parent5be92d4f0677c9191159fee541990e1bf77823f9 (diff)
downloadpoky-83e81485aa1a8454fdf78c624f61e75abca4067a.tar.gz
xorg-driver: enable multilib
[YOCTO #3438] (From OE-Core rev: 87be2314fe0e67a616b4f713106b4ae46931f5cb) Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/xorg-driver')
-rw-r--r--meta/recipes-graphics/xorg-driver/xorg-driver-common.inc5
1 files 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"
5LICENSE = "MIT-X" 5LICENSE = "MIT-X"
6 6
7PE = "2" 7PE = "2"
8INC_PR = "r20" 8INC_PR = "r21"
9 9
10DEPENDS = "virtual/xserver xproto randrproto util-macros" 10DEPENDS = "virtual/xserver xproto randrproto util-macros"
11 11
@@ -34,7 +34,8 @@ def add_abi_depends(d, name):
34 } 34 }
35 35
36 output = os.popen("pkg-config xorg-server --variable=%s" % abis[name]).read() 36 output = os.popen("pkg-config xorg-server --variable=%s" % abis[name]).read()
37 abi = "xorg-abi-%s-%s" % (name, output.split(".")[0]) 37 mlprefix = d.getVar('MLPREFIX', True) or ''
38 abi = "%sxorg-abi-%s-%s" % (mlprefix, name, output.split(".")[0])
38 39
39 pn = d.getVar("PN", True) 40 pn = d.getVar("PN", True)
40 d.appendVar('RDEPENDS_' + pn, ' ' + abi) 41 d.appendVar('RDEPENDS_' + pn, ' ' + abi)