diff options
author | Petter Mabäcker <petter@technux.se> | 2015-01-04 23:45:46 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-01-23 11:36:28 +0000 |
commit | cf72ede74d35746a10d0708942287548f9c72f30 (patch) | |
tree | 75cc16ad40b6de07a892bda4cc190996aaab75b0 /meta/recipes-bsp/apmd | |
parent | 4eb3db9a2ca8eaff64b64b8f56dac25d4734571c (diff) | |
download | poky-cf72ede74d35746a10d0708942287548f9c72f30.tar.gz |
base.bbclass: detect when S has been set incorrectly
Currently base.bbclass is creating S if it's not created by unpacking
an archive or fetching a repository. If we avoid creating S we can detect
when S hasn't been set correctly, since it will not exist. Then we can tell
the user that they should set S to a proper value, instead of just failing
with odd errors in later tasks.
Besides removing the auto-creation of S this change will introduce a warning
if S is set incorrectly. The reason for not display an error and return
is due to all external layers that might have recipes that will fail otherwise
and that might be a bit to hard to start with. So use a warning until people
have had a chance to cleanup affected recipes.
[YOCTO #5627]
(From OE-Core rev: 0d84b9a8ba408d168cb8a92e895d2f7338d6da1b)
Signed-off-by: Petter Mabäcker <petter@technux.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/apmd')
0 files changed, 0 insertions, 0 deletions