diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/license.bbclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass index 06dd4a8c11..141af5de4d 100644 --- a/meta/classes/license.bbclass +++ b/meta/classes/license.bbclass | |||
@@ -340,6 +340,9 @@ def add_package_and_files(d): | |||
340 | # first in PACKAGES to be sure that nothing else gets LICENSE_FILES_DIRECTORY | 340 | # first in PACKAGES to be sure that nothing else gets LICENSE_FILES_DIRECTORY |
341 | d.setVar('PACKAGES', "%s %s" % (pn_lic, packages)) | 341 | d.setVar('PACKAGES', "%s %s" % (pn_lic, packages)) |
342 | d.setVar('FILES_' + pn_lic, files) | 342 | d.setVar('FILES_' + pn_lic, files) |
343 | for pn in packages.split(): | ||
344 | if pn == pn_lic: | ||
345 | continue | ||
343 | rrecommends_pn = d.getVar('RRECOMMENDS_' + pn) | 346 | rrecommends_pn = d.getVar('RRECOMMENDS_' + pn) |
344 | if rrecommends_pn: | 347 | if rrecommends_pn: |
345 | d.setVar('RRECOMMENDS_' + pn, "%s %s" % (pn_lic, rrecommends_pn)) | 348 | d.setVar('RRECOMMENDS_' + pn, "%s %s" % (pn_lic, rrecommends_pn)) |