summaryrefslogtreecommitdiff
path: root/meta/classes/externalsrc.bbclass
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2014-12-19 11:41:52 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-12-21 17:30:52 +0000
commite734e12fd1478cdacdadf4e0fae5247cb70b9fb1 (patch)
tree27ec23e3f73e2de065c1931b59e89afa4fd80bc6 /meta/classes/externalsrc.bbclass
parent418cdf1ca37e06165ebaec86a0098d4750208539 (diff)
downloadopenembedded-core-e734e12fd1478cdacdadf4e0fae5247cb70b9fb1.tar.gz
openembedded-core-e734e12fd1478cdacdadf4e0fae5247cb70b9fb1.tar.bz2
openembedded-core-e734e12fd1478cdacdadf4e0fae5247cb70b9fb1.zip
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. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/externalsrc.bbclass')
-rw-r--r--meta/classes/externalsrc.bbclass3
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 () {
for task in d.getVar("SRCTREECOVEREDTASKS", True).split():
bb.build.deltask(task, d)
+
+ # Ensure compilation happens every time
+ d.setVarFlag('do_compile', 'nostamp', '1')
}