summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)