]> code.ossystems Code Review - openembedded-core.git/commitdiff
base.bbclass: Use the new stampfile function in bitbake to determine the path to...
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 6 Jan 2011 19:49:17 +0000 (19:49 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 6 Jan 2011 19:49:17 +0000 (19:49 +0000)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/base.bbclass

index f8ce1232cdc1e329e3b94bcd626c204307fde7f4..f1ffb4540a236494c74b86f206ed1302c084ee0e 100644 (file)
@@ -107,7 +107,7 @@ python base_scenefunction () {
 python base_do_setscene () {
        for f in (bb.data.getVar('SCENEFUNCS', d, 1) or '').split():
                bb.build.exec_func(f, d)
-       if not os.path.exists(bb.data.getVar('STAMP', d, 1) + ".do_setscene"):
+       if not os.path.exists(bb.build.stampfile("do_setscene", d)):
                bb.build.make_stamp("do_setscene", d)
 }
 do_setscene[selfstamp] = "1"