diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2014-12-19 11:41:52 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-12-23 10:18:15 +0000 |
commit | f176b0c64f53e27c2a3e93e879405ebea007f9f7 (patch) | |
tree | 8abd238f9517e0b58b5f6c9feea4a779b0103188 | |
parent | d7aec8c5f4bc284896ab1c913547d0b0ce666dff (diff) | |
download | poky-f176b0c64f53e27c2a3e93e879405ebea007f9f7.tar.gz |
classes/externalsrc: set do_compile as nostamp
Most of the time what you want when using this class is for do_compile
to execute more than just once - every time the source changes would be
ideal, but that's a little tricky to accomplish. Thus, set do_compile as
nostamp to get something close. Note that in order to be effective this
also requires the change to bitbake that causes nostamp task signatures
to change on each execution.
(From OE-Core rev: e734e12fd1478cdacdadf4e0fae5247cb70b9fb1)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/externalsrc.bbclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/externalsrc.bbclass b/meta/classes/externalsrc.bbclass index 2ac62747a2..4e429d78d8 100644 --- a/meta/classes/externalsrc.bbclass +++ b/meta/classes/externalsrc.bbclass | |||
@@ -49,5 +49,8 @@ python () { | |||
49 | 49 | ||
50 | for task in d.getVar("SRCTREECOVEREDTASKS", True).split(): | 50 | for task in d.getVar("SRCTREECOVEREDTASKS", True).split(): |
51 | bb.build.deltask(task, d) | 51 | bb.build.deltask(task, d) |
52 | |||
53 | # Ensure compilation happens every time | ||
54 | d.setVarFlag('do_compile', 'nostamp', '1') | ||
52 | } | 55 | } |
53 | 56 | ||