diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2015-02-19 16:39:52 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-02-23 08:08:19 +0000 |
commit | b5071fb2667b8751885d38ca62fa36c870177cd5 (patch) | |
tree | d51c0712f3bf2e4c67fe7054fd7cf85a04f2d6f5 /meta/classes/cross-canadian.bbclass | |
parent | d820303f64ea610338ec11ffd79269e7831d1da9 (diff) | |
download | openembedded-core-b5071fb2667b8751885d38ca62fa36c870177cd5.tar.gz openembedded-core-b5071fb2667b8751885d38ca62fa36c870177cd5.tar.bz2 openembedded-core-b5071fb2667b8751885d38ca62fa36c870177cd5.zip |
classes/externalsrc: fix source being wiped out on clean with kernel
kernel.bbclass adds ${S} do do_clean[cleandirs], but this means if you
run bitbake -c clean <kernelrecipe> then your external source tree will
be trashed, which could be a disaster. For safety, remove ${S} from
cleandirs for every task. We also have to do the same for ${B} in the
case where EXTERNALSRC_BUILD is set to the same value as EXTERNALSRC.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/cross-canadian.bbclass')
0 files changed, 0 insertions, 0 deletions