summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorFlanagan, Elizabeth <elizabeth.flanagan@intel.com>2012-11-20 13:49:56 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-11-25 21:36:42 +0000
commit6944a3bd58cc163c64df0d0d681db99d75c88419 (patch)
treed871fd79c30af7e43c6e2560046909522c07760c /meta
parentbc5bf6f0a001d8780957f96f54be661dbad8c751 (diff)
downloadpoky-6944a3bd58cc163c64df0d0d681db99d75c88419.tar.gz
license.bbclass: Collect LICENSE level packages
Some bad logic in license.bbclass misses certain package level LICENSEs. (From OE-Core rev: c5a171d5817233c0371e6f5b19f57f3c4b84f5ac) Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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 7e1c23fffc..c7ca4a636e 100644
--- a/meta/classes/license.bbclass
+++ b/meta/classes/license.bbclass
@@ -97,9 +97,9 @@ python do_populate_lic() {
97 97
98 pn = d.getVar('PN', True) 98 pn = d.getVar('PN', True)
99 for package in d.getVar('PACKAGES', True): 99 for package in d.getVar('PACKAGES', True):
100 if d.getVar('LICENSE_' + pn + '-' + package, True): 100 if d.getVar('LICENSE_' + package, True):
101 license_types = license_types + ' & ' + \ 101 license_types = license_types + ' & ' + \
102 d.getVar('LICENSE_' + pn + '-' + package, True) 102 d.getVar('LICENSE_' + package, True)
103 103
104 #If we get here with no license types, then that means we have a recipe 104 #If we get here with no license types, then that means we have a recipe
105 #level license. If so, we grab only those. 105 #level license. If so, we grab only those.