From: Dongxiao Xu Date: Wed, 27 Jul 2011 08:01:50 +0000 (+0800) Subject: connman: Change hard coded package name to support multilib X-Git-Tag: 2011-1~542 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=a27503dc76652afef6eaf7330c8e6a421d72a6fc;p=openembedded-core.git 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 --- diff --git a/meta/recipes-connectivity/connman/connman.inc b/meta/recipes-connectivity/connman/connman.inc index 916f8ad7ff..a72c34a183 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))