summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/build.py
diff options
context:
space:
mode:
authorAndrei Gherzan <andrei.gherzan@windriver.com>2012-08-16 14:21:33 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-16 12:27:41 +0100
commitaf847d36375aa53f0c1ee2a00c97ba9f38837d1b (patch)
tree13d11d655c66e8c289d671cd95941ce6aeb1f145 /bitbake/lib/bb/build.py
parent1fa112b6324cd624c15e86279036c2bbfd46d6e8 (diff)
downloadpoky-af847d36375aa53f0c1ee2a00c97ba9f38837d1b.tar.gz
bitbake: bitbake: build.py: Add stampdir argument to cached_mtime_noerror
After commit 2718537b4b04eb3d80ab4d74171b58e7b8dd68b8 (bitbake: build.py: Only execute mkdirhier if stampdir doesn't exist) build failes as cached_mtime_noerror needs an argument - stamp dir. This argument was forgotten. (Bitbake rev: e69103c4f7e45c24f1fbe9df0383f39e877abcb4) Signed-off-by: Andrei Gherzan <andrei.gherzan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/build.py')
-rw-r--r--bitbake/lib/bb/build.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py
index d64077ea96..b484d19ec7 100644
--- a/bitbake/lib/bb/build.py
+++ b/bitbake/lib/bb/build.py
@@ -465,7 +465,7 @@ def stamp_internal(taskname, d, file_name):
465 stamp = bb.parse.siggen.stampfile(stamp, file_name, taskname, extrainfo) 465 stamp = bb.parse.siggen.stampfile(stamp, file_name, taskname, extrainfo)
466 466
467 stampdir = os.path.dirname(stamp) 467 stampdir = os.path.dirname(stamp)
468 if bb.parse.cached_mtime_noerror == 0: 468 if bb.parse.cached_mtime_noerror(stampdir) == 0:
469 bb.utils.mkdirhier(stampdir) 469 bb.utils.mkdirhier(stampdir)
470 470
471 return stamp 471 return stamp