From 59aa9a23d858f050661a258778f77041dd097969 Mon Sep 17 00:00:00 2001 From: Saul Wold Date: Mon, 28 Feb 2011 18:12:44 -0800 Subject: Revert "base/utility-tasks.bbclass: Drop do_setscene and do_rebuild" This reverts commit 6d7976542019bc27886470e6ec1aac9ed84dd0e1. The orignal patch broke the incremental build, so not all is right with this change yet. Signed-off-by: Saul Wold --- meta/classes/utility-tasks.bbclass | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'meta/classes/utility-tasks.bbclass') diff --git a/meta/classes/utility-tasks.bbclass b/meta/classes/utility-tasks.bbclass index 64bd84a5d3..aeac2bce40 100644 --- a/meta/classes/utility-tasks.bbclass +++ b/meta/classes/utility-tasks.bbclass @@ -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() { -- cgit v1.2.3-54-g00ecf