diff options
author | Dongxiao Xu <dongxiao.xu@intel.com> | 2011-07-27 16:01:50 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-27 16:25:35 +0100 |
commit | b943b055a5c37b5a9686ac68190594bfde4b2aad (patch) | |
tree | 870ba108692163c8fd9e16f22c43f24a3e358adb /meta/recipes-connectivity | |
parent | 28543c5780ab8f3d504a827bf37f3dc2fc1c5f12 (diff) | |
download | poky-b943b055a5c37b5a9686ac68190594bfde4b2aad.tar.gz |
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>
Diffstat (limited to 'meta/recipes-connectivity')
-rw-r--r-- | meta/recipes-connectivity/connman/connman.inc | 3 |
1 files changed, 2 insertions, 1 deletions
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 \ | |||
41 | FILES_${PN}-dev += "${libdir}/connman/plugins/*.la" | 41 | FILES_${PN}-dev += "${libdir}/connman/plugins/*.la" |
42 | 42 | ||
43 | python populate_packages_prepend() { | 43 | python populate_packages_prepend() { |
44 | depmap = dict( wifi="wpa-supplicant", bluetooth="bluez4", ofono="ofono" ) | 44 | prefix = (d.getVar("MLPREFIX", True) or "") |
45 | depmap = dict( wifi=prefix+"wpa-supplicant", bluetooth=prefix+"bluez4", ofono=prefix+"ofono" ) | ||
45 | packages = [] | 46 | packages = [] |
46 | hook = lambda file,pkg,b,c,d:packages.append((file,pkg)) | 47 | hook = lambda file,pkg,b,c,d:packages.append((file,pkg)) |
47 | 48 | ||