diff options
author | Joshua Lock <joshua.g.lock@intel.com> | 2017-03-17 15:53:09 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-22 11:35:19 +0000 |
commit | cc2744267f6c6daa594b8c4381d56ac27fe70b81 (patch) | |
tree | 873e26c071fa04f2fe54658c600baf2ed5071616 /meta/recipes-multimedia | |
parent | d60ede331558efc93011dee6f157028174b9c5a1 (diff) | |
download | poky-cc2744267f6c6daa594b8c4381d56ac27fe70b81.tar.gz |
meta: replace uses of bb.data.expand(VARNAME, d) with d.expand(VARNAME)
bb.data.expand(x, d) is deprecated API.
[YOCTO #10678]
(From OE-Core rev: a361babe443da635aed83be46679067457fd6a58)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia')
-rw-r--r-- | meta/recipes-multimedia/alsa/alsa-plugins_1.1.1.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-multimedia/alsa/alsa-plugins_1.1.1.bb b/meta/recipes-multimedia/alsa/alsa-plugins_1.1.1.bb index 3928fb1cb9..16686a0445 100644 --- a/meta/recipes-multimedia/alsa/alsa-plugins_1.1.1.bb +++ b/meta/recipes-multimedia/alsa/alsa-plugins_1.1.1.bb | |||
@@ -59,7 +59,7 @@ do_install_append() { | |||
59 | } | 59 | } |
60 | 60 | ||
61 | python populate_packages_prepend() { | 61 | python populate_packages_prepend() { |
62 | plugindir = bb.data.expand('${libdir}/alsa-lib/', d) | 62 | plugindir = d.expand('${libdir}/alsa-lib/') |
63 | packages = " ".join(do_split_packages(d, plugindir, '^libasound_module_(.*)\.so$', 'libasound-module-%s', 'Alsa plugin for %s', extra_depends='')) | 63 | packages = " ".join(do_split_packages(d, plugindir, '^libasound_module_(.*)\.so$', 'libasound-module-%s', 'Alsa plugin for %s', extra_depends='')) |
64 | d.setVar("RDEPENDS_alsa-plugins", packages) | 64 | d.setVar("RDEPENDS_alsa-plugins", packages) |
65 | } | 65 | } |