]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
classes/externalsrc: handle if cleandirs contains python expressions
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 4 Apr 2018 11:02:35 +0000 (23:02 +1200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 5 Apr 2018 13:49:06 +0000 (14:49 +0100)
commiteb37cdd8908380e02460111f1739bd1cc0a22d8e
treed79d2c6e1263f42dc5a299f0e419c93b91c4090c
parent9e3a9637b8f86f504e187b96cd0c98d8e1f651da
classes/externalsrc: handle if cleandirs contains python expressions

Use the existing oe.recipeutils.split_var_value() function to split the
unexpanded value of the cleandirs varflag, in case it contains python
expressions - we don't want to split the expression itself as the chunks
will not expand properly individually and we can miss something that
expands to the source tree (and thus it can get deleted, the avoidance
of which is the whole point of this code).

(From OE-Core rev: 611cee69d7300a4746edd752c9557af60e7beecc)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/externalsrc.bbclass