summaryrefslogtreecommitdiff
path: root/meta/classes/package.bbclass
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2016-04-05 17:10:43 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-04-05 23:12:41 +0100
commitd3875a8111f1d88dcc83219d4700784050988ca3 (patch)
tree669e88634d325c1adae6c458d1fe08f014d5152c /meta/classes/package.bbclass
parentd85f5d4f2fe6f71c3e9e4de4dcda73ce54bc2d39 (diff)
downloadopenembedded-core-d3875a8111f1d88dcc83219d4700784050988ca3.tar.gz
openembedded-core-d3875a8111f1d88dcc83219d4700784050988ca3.tar.bz2
openembedded-core-d3875a8111f1d88dcc83219d4700784050988ca3.zip
package: do_split_packages: expand variables in extra_depends
If a recipe passes for example extra_depends="${PN}-dev" to do_split_packages() then it isn't expanded, so the check for the multilib prefix doesn't work. Solve this centrally by expanding extra_depends inside do_split_packages(). [ YOCTO #9381 ] Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/package.bbclass')
-rw-r--r--meta/classes/package.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index bdbe96d4cb..4452e2f4f4 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -123,6 +123,7 @@ def do_split_packages(d, root, file_regex, output_pattern, description, postinst
dvar = d.getVar('PKGD', True)
root = d.expand(root)
output_pattern = d.expand(output_pattern)
+ extra_depends = d.expand(extra_depends)
# If the root directory doesn't exist, don't error out later but silently do
# no splitting.