aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorFlanagan, Elizabeth <elizabeth.flanagan@intel.com>2012-11-20 13:49:56 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-02-14 15:17:16 +0000
commit059dc4ff86d1b1517a53d8f3dc63fe5278751c5d (patch)
tree689ee1ade41fb4fc03799b8f18c19743b194f992 /meta/classes
parentfdd6da5933a3e7dd1e0ca2afd7107839b4fa65e8 (diff)
downloadopenembedded-core-059dc4ff86d1b1517a53d8f3dc63fe5278751c5d.tar.gz
license.bbclass: Collect LICENSE level packages
Some bad logic in license.bbclass misses certain package level LICENSEs. Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/license.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass
index a66933f733..ec9aa8f4ef 100644
--- a/meta/classes/license.bbclass
+++ b/meta/classes/license.bbclass
@@ -97,9 +97,9 @@ python do_populate_lic() {
pn = d.getVar('PN', True)
for package in d.getVar('PACKAGES', True):
- if d.getVar('LICENSE_' + pn + '-' + package, True):
+ if d.getVar('LICENSE_' + package, True):
license_types = license_types + ' & ' + \
- d.getVar('LICENSE_' + pn + '-' + package, True)
+ d.getVar('LICENSE_' + package, True)
#If we get here with no license types, then that means we have a recipe
#level license. If so, we grab only those.