diff options
| -rw-r--r-- | bitbake/lib/bb/ui/buildinfohelper.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/buildinfohelper.py b/bitbake/lib/bb/ui/buildinfohelper.py index e451c630d4..524a5b0942 100644 --- a/bitbake/lib/bb/ui/buildinfohelper.py +++ b/bitbake/lib/bb/ui/buildinfohelper.py | |||
| @@ -719,7 +719,11 @@ class ORMWrapper(object): | |||
| 719 | 719 | ||
| 720 | def save_build_package_information(self, build_obj, package_info, recipes, | 720 | def save_build_package_information(self, build_obj, package_info, recipes, |
| 721 | built_package): | 721 | built_package): |
| 722 | # assert isinstance(build_obj, Build) | 722 | # assert isinstance(build_obj, Build) |
| 723 | |||
| 724 | if not 'PN' in package_info.keys(): | ||
| 725 | # no package data to save (e.g. 'OPKGN'="lib64-*"|"lib32-*") | ||
| 726 | return None | ||
| 723 | 727 | ||
| 724 | # create and save the object | 728 | # create and save the object |
| 725 | pname = package_info['PKG'] | 729 | pname = package_info['PKG'] |
