summaryrefslogtreecommitdiff
path: root/meta/recipes-connectivity/connman
diff options
context:
space:
mode:
authorDongxiao Xu <dongxiao.xu@intel.com>2011-07-27 16:01:50 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-27 16:25:09 +0100
commita27503dc76652afef6eaf7330c8e6a421d72a6fc (patch)
tree84e32fda6595c004f8d09db19d10b69a10c68c5a /meta/recipes-connectivity/connman
parent9d81c2166be7ed388e5616e01ca2b4059e524c8e (diff)
downloadopenembedded-core-a27503dc76652afef6eaf7330c8e6a421d72a6fc.tar.gz
openembedded-core-a27503dc76652afef6eaf7330c8e6a421d72a6fc.tar.bz2
openembedded-core-a27503dc76652afef6eaf7330c8e6a421d72a6fc.tar.xz
openembedded-core-a27503dc76652afef6eaf7330c8e6a421d72a6fc.zip
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. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Diffstat (limited to 'meta/recipes-connectivity/connman')
-rw-r--r--meta/recipes-connectivity/connman/connman.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/connman/connman.inc b/meta/recipes-connectivity/connman/connman.inc
index 916f8ad7f..a72c34a18 100644
--- a/meta/recipes-connectivity/connman/connman.inc
+++ b/meta/recipes-connectivity/connman/connman.inc
@@ -41,7 +41,8 @@ FILES_${PN}-dbg += "${libdir}/connman/plugins/.debug \
FILES_${PN}-dev += "${libdir}/connman/plugins/*.la"
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 = []
hook = lambda file,pkg,b,c,d:packages.append((file,pkg))