diff options
-rw-r--r-- | bitbake/lib/bb/ui/buildinfohelper.py | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/bitbake/lib/bb/ui/buildinfohelper.py b/bitbake/lib/bb/ui/buildinfohelper.py index 7a16ec6aab..0f09b5cb63 100644 --- a/bitbake/lib/bb/ui/buildinfohelper.py +++ b/bitbake/lib/bb/ui/buildinfohelper.py | |||
@@ -1616,7 +1616,10 @@ class BuildInfoHelper(object): | |||
1616 | if line.startswith('FILES'): | 1616 | if line.startswith('FILES'): |
1617 | files_str = line.split(':')[1].strip() | 1617 | files_str = line.split(':')[1].strip() |
1618 | files_str = re.sub(r' {2,}', ' ', files_str) | 1618 | files_str = re.sub(r' {2,}', ' ', files_str) |
1619 | files = files_str.split(' ') | 1619 | |
1620 | # ignore lines like "FILES:" with no filenames | ||
1621 | if files_str: | ||
1622 | files += files_str.split(' ') | ||
1620 | return files | 1623 | return files |
1621 | 1624 | ||
1622 | def _endswith(self, str_to_test, endings): | 1625 | def _endswith(self, str_to_test, endings): |
@@ -1734,9 +1737,9 @@ class BuildInfoHelper(object): | |||
1734 | real_image_name, | 1737 | real_image_name, |
1735 | 'image_license.manifest') | 1738 | 'image_license.manifest') |
1736 | 1739 | ||
1737 | # if image_license.manifest exists, we can read the names of bzImage | 1740 | # if image_license.manifest exists, we can read the names of |
1738 | # and modules files for this build from it, then look for them | 1741 | # bzImage, modules etc. files for this build from it, then look for |
1739 | # in the DEPLOY_DIR_IMAGE; note that this file is only produced | 1742 | # them in the DEPLOY_DIR_IMAGE; note that this file is only produced |
1740 | # if an image file was produced | 1743 | # if an image file was produced |
1741 | if os.path.isfile(image_license_manifest_path): | 1744 | if os.path.isfile(image_license_manifest_path): |
1742 | has_files = True | 1745 | has_files = True |