summaryrefslogtreecommitdiff
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"
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)