diff options
Diffstat (limited to 'bitbake/lib/bb/ui/buildinfohelper.py')
| -rw-r--r-- | bitbake/lib/bb/ui/buildinfohelper.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/bitbake/lib/bb/ui/buildinfohelper.py b/bitbake/lib/bb/ui/buildinfohelper.py index 2b9302d108..5ea9284a39 100644 --- a/bitbake/lib/bb/ui/buildinfohelper.py +++ b/bitbake/lib/bb/ui/buildinfohelper.py | |||
| @@ -304,12 +304,11 @@ class ORMWrapper(object): | |||
| 304 | break | 304 | break |
| 305 | 305 | ||
| 306 | 306 | ||
| 307 | # If we're in analysis mode then we are wholly responsible for the data | 307 | # If we're in analysis mode or if this is a custom recipe |
| 308 | # then we are wholly responsible for the data | ||
| 308 | # and therefore we return the 'real' recipe rather than the build | 309 | # and therefore we return the 'real' recipe rather than the build |
| 309 | # history copy of the recipe. | 310 | # history copy of the recipe. |
| 310 | if recipe_information['layer_version'].build is not None and \ | 311 | if built_recipe is None: |
| 311 | recipe_information['layer_version'].build.project == \ | ||
| 312 | Project.objects.get_default_project(): | ||
| 313 | return recipe | 312 | return recipe |
| 314 | 313 | ||
| 315 | return built_recipe | 314 | return built_recipe |
