diff options
author | Elliot Smith <elliot.smith@intel.com> | 2015-10-15 15:45:15 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-10-16 14:13:23 +0100 |
commit | eb8b2b9ec89868b5f7191643276d226fcf4b5add (patch) | |
tree | 6f06134c01e2c97cfc80b2f14108ee35c4f31426 /bitbake/lib/bb/codeparser.py | |
parent | 65e8bde9f1e055e4d01dd13b72c9c88c6447dcdb (diff) | |
download | poky-eb8b2b9ec89868b5f7191643276d226fcf4b5add.tar.gz |
bitbake: toaster: Guard against builds with no targets
Although this probably can't happen in practice (builds without
targets), this constraint is not currently enforced in the data model.
In the unlikely event that a build has no target (e.g. in test cases),
this causes a template rendering error.
Rather than rework the data model, add a guard to the template
to prevent it from rendering the target name if there are no
targets associated with the build.
(Bitbake rev: 4f409d8c01bae898ea142bd1417db99e12067753)
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/codeparser.py')
0 files changed, 0 insertions, 0 deletions