Revert "base/utility-tasks.bbclass: Drop do_setscene and do_rebuild"

This reverts commit 6d79765420.

The orignal patch broke the incremental build, so not all is right
with this change yet.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
This commit is contained in:
Saul Wold
2011-02-28 18:12:44 -08:00
parent 6d79765420
commit 59aa9a23d8
2 changed files with 49 additions and 1 deletions

View File

@@ -28,6 +28,25 @@ python do_clean() {
bb.build.exec_func(f, d)
}
addtask rebuild after do_${BB_DEFAULT_TASK}
do_rebuild[dirs] = "${TOPDIR}"
do_rebuild[nostamp] = "1"
python do_rebuild() {
"""rebuild a package"""
}
#addtask mrproper
#do_mrproper[dirs] = "${TOPDIR}"
#do_mrproper[nostamp] = "1"
#python do_mrproper() {
# """clear downloaded sources, build and temp directories"""
# dir = bb.data.expand("${DL_DIR}", d)
# if dir == '/': bb.build.FuncFailed("wrong DATADIR")
# bb.debug(2, "removing " + dir)
# os.system('rm -rf ' + dir)
# bb.build.exec_func('do_clean', d)
#}
addtask checkuri
do_checkuri[nostamp] = "1"
python do_checkuri() {