summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/build.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py
index bea2926085..d64077ea96 100644
--- a/bitbake/lib/bb/build.py
+++ b/bitbake/lib/bb/build.py
@@ -464,7 +464,9 @@ def stamp_internal(taskname, d, file_name):
464 464
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 bb.utils.mkdirhier(os.path.dirname(stamp)) 467 stampdir = os.path.dirname(stamp)
468 if bb.parse.cached_mtime_noerror == 0:
469 bb.utils.mkdirhier(stampdir)
468 470
469 return stamp 471 return stamp
470 472