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>
This commit is contained in:
parent
5be92d4f06
commit
83e81485aa
|
@ -5,7 +5,7 @@ SECTION = "x11/drivers"
|
||||||
LICENSE = "MIT-X"
|
LICENSE = "MIT-X"
|
||||||
|
|
||||||
PE = "2"
|
PE = "2"
|
||||||
INC_PR = "r20"
|
INC_PR = "r21"
|
||||||
|
|
||||||
DEPENDS = "virtual/xserver xproto randrproto util-macros"
|
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()
|
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)
|
pn = d.getVar("PN", True)
|
||||||
d.appendVar('RDEPENDS_' + pn, ' ' + abi)
|
d.appendVar('RDEPENDS_' + pn, ' ' + abi)
|
||||||
|
|
Loading…
Reference in New Issue