connman: Change hard coded package name to support multilib
connman plugins have dependency on bluez4, wpa-supplicant, and ofono. These names are hardcoded, fix the issue to support multilib. (From OE-Core rev: a27503dc76652afef6eaf7330c8e6a421d72a6fc) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
28543c5780
commit
b943b055a5
|
@ -41,7 +41,8 @@ FILES_${PN}-dbg += "${libdir}/connman/plugins/.debug \
|
||||||
FILES_${PN}-dev += "${libdir}/connman/plugins/*.la"
|
FILES_${PN}-dev += "${libdir}/connman/plugins/*.la"
|
||||||
|
|
||||||
python populate_packages_prepend() {
|
python populate_packages_prepend() {
|
||||||
depmap = dict( wifi="wpa-supplicant", bluetooth="bluez4", ofono="ofono" )
|
prefix = (d.getVar("MLPREFIX", True) or "")
|
||||||
|
depmap = dict( wifi=prefix+"wpa-supplicant", bluetooth=prefix+"bluez4", ofono=prefix+"ofono" )
|
||||||
packages = []
|
packages = []
|
||||||
hook = lambda file,pkg,b,c,d:packages.append((file,pkg))
|
hook = lambda file,pkg,b,c,d:packages.append((file,pkg))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue