diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-03 11:21:22 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-05 10:23:53 -0800 |
commit | b1aeaa8b0dcf27ef8dcd87279901c6f5817d9e94 (patch) | |
tree | 62b315fdc05e03677922a0161fdc7a39e2985466 /meta/recipes-connectivity/connman | |
parent | 22f0df2aa737bda1ae3bce862ee5ceba5b2d204b (diff) | |
download | poky-b1aeaa8b0dcf27ef8dcd87279901c6f5817d9e94.tar.gz |
meta: Replace bb.data.expand(xxx, d) -> d.expand(xxx)
sed \
-e 's:bb.data.\(expand([^,()]*\), *\([^) ]*\) *):\2.\1):g' \
-i `grep -ril bb.data.expand *`
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/connman')
-rw-r--r-- | meta/recipes-connectivity/connman/connman.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-connectivity/connman/connman.inc b/meta/recipes-connectivity/connman/connman.inc index d1bf7cdd9f..d9d663c3b8 100644 --- a/meta/recipes-connectivity/connman/connman.inc +++ b/meta/recipes-connectivity/connman/connman.inc | |||
@@ -75,8 +75,8 @@ python populate_packages_prepend() { | |||
75 | packages = [] | 75 | packages = [] |
76 | multilib_prefix = (d.getVar("MLPREFIX", True) or "") | 76 | multilib_prefix = (d.getVar("MLPREFIX", True) or "") |
77 | hook = lambda file,pkg,b,c,d:packages.append((file,pkg)) | 77 | hook = lambda file,pkg,b,c,d:packages.append((file,pkg)) |
78 | plugin_dir = bb.data.expand('${libdir}/connman/plugins/', d) | 78 | plugin_dir = d.expand('${libdir}/connman/plugins/') |
79 | plugin_name = bb.data.expand('${PN}-plugin-%s', d) | 79 | plugin_name = d.expand('${PN}-plugin-%s') |
80 | do_split_packages(d, plugin_dir, '^(.*).so$', plugin_name, '${PN} plugin for %s', extra_depends='', hook=hook ) | 80 | do_split_packages(d, plugin_dir, '^(.*).so$', plugin_name, '${PN} plugin for %s', extra_depends='', hook=hook ) |
81 | for (file, package) in packages: | 81 | for (file, package) in packages: |
82 | plugintype = package.split( '-' )[-1] | 82 | plugintype = package.split( '-' )[-1] |