]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
externalsrc.bbclass: better filtering of cleandirs
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 8 Sep 2015 10:36:40 +0000 (13:36 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 12 Sep 2015 21:47:06 +0000 (22:47 +0100)
commiteec871fe405e140a1919999fe2f4cf24f1839e5d
treea37aaa6580925412ad7b71a758d2a39473f72afa
parent29fa8ee01ef3254272bcbdd13a8c7244548639a3
externalsrc.bbclass: better filtering of cleandirs

We really do not want our (external) source tree to be removed. There
might be multiple values in the 'cleandirs' varflag pointing to our
source tree - causing it to be wiped out. This patch improves the
filtering of 'cleandirs' by examining the expanded values inside it. Any
(expanded) values pointing to our source tree get removed.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/externalsrc.bbclass