base.bbclass: Use the new stampfile function in bitbake to determine the path to the stampfile

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2011-01-06 19:49:17 +00:00
parent df8569b4d8
commit 3f78c071b7
1 changed files with 1 additions and 1 deletions

View 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"