diff options
| author | Flanagan, Elizabeth <elizabeth.flanagan@intel.com> | 2012-11-20 13:49:56 -0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-02-14 15:19:51 +0000 |
| commit | ce30381a7157bab905851571e3fee0d152fa2763 (patch) | |
| tree | 41de8f8923e115cb4f4cdfd4d644046cadf79054 /meta/classes | |
| parent | 4724491653d22b8b25f08c109a47c0782717b0b2 (diff) | |
| download | poky-ce30381a7157bab905851571e3fee0d152fa2763.tar.gz | |
license.bbclass: Collect LICENSE level packages
Some bad logic in license.bbclass misses certain package level
LICENSEs.
(From OE-Core rev: 059dc4ff86d1b1517a53d8f3dc63fe5278751c5d)
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.bbclass | 4 |
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() { | |||
| 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. |
