summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2012-06-21 18:28:47 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-06-22 14:00:03 +0100
commit0fd960fdea83874eedb541cbc2920257e0f3fb81 (patch)
tree0069d423c6cb1dad319fe1faf531286703d6267c
parent9ab269410ef5cd4753fe11ec74759f421685bb7b (diff)
downloadbitbake-0fd960fdea83874eedb541cbc2920257e0f3fb81.tar.gz
lib/bb/siggen.py: log when tainting the signature of a task
Log a note when applying a taint to a task signature (e.g. when using the -f or -C command line options) so that the user knows this has been done. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--lib/bb/siggen.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bb/siggen.py b/lib/bb/siggen.py
index 0fb264252..edd98fcfc 100644
--- a/lib/bb/siggen.py
+++ b/lib/bb/siggen.py
@@ -268,6 +268,7 @@ class SignatureGeneratorBasicHash(SignatureGeneratorBasic):
return ("%s.%s.%s.%s" % (stampbase, taskname, h, extrainfo)).rstrip('.')
def invalidate_task(self, task, d, fn):
+ bb.note("Tainting hash to force rebuild of task %s, %s" % (fn, task))
bb.build.write_taint(task, d, fn)
def dump_this_task(outfile, d):