Skip to content
Snippets Groups Projects
Commit 6944a3bd authored by Flanagan, Elizabeth's avatar Flanagan, Elizabeth Committed by Richard Purdie
Browse files

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: default avatarElizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
parent bc5bf6f0
Branches
Tags
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment