From bcf8d1320ff6b1f27f367392c4c867a2a9e41c69 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Fri, 19 Mar 2010 16:46:57 -0700 Subject: utility-tasks: unbork do_{clean,rebuild,mrproper,distclean} Signed-off-by: Chris Larson --- classes/utility-tasks.bbclass | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'classes') diff --git a/classes/utility-tasks.bbclass b/classes/utility-tasks.bbclass index 0f9d0169da..29bc781b32 100644 --- a/classes/utility-tasks.bbclass +++ b/classes/utility-tasks.bbclass @@ -13,7 +13,7 @@ python do_listtasks() { addtask clean do_clean[dirs] = "${TOPDIR}" do_clean[nostamp] = "1" -python base_do_clean() { +python do_clean() { """clear the build and temp directories""" dir = bb.data.expand("${WORKDIR}", d) if dir == '//': raise bb.build.FuncFailed("wrong DATADIR") @@ -34,14 +34,14 @@ addtask cleanall after do_clean addtask rebuild after do_${BB_DEFAULT_TASK} do_rebuild[dirs] = "${TOPDIR}" do_rebuild[nostamp] = "1" -python base_do_rebuild() { +python do_rebuild() { """rebuild a package""" } addtask mrproper do_mrproper[dirs] = "${TOPDIR}" do_mrproper[nostamp] = "1" -python base_do_mrproper() { +python do_mrproper() { """clear downloaded sources, build and temp directories""" dir = bb.data.expand("${DL_DIR}", d) if dir == '/': bb.build.FuncFailed("wrong DATADIR") @@ -53,7 +53,7 @@ python base_do_mrproper() { addtask distclean do_distclean[dirs] = "${TOPDIR}" do_distclean[nostamp] = "1" -python base_do_distclean() { +python do_distclean() { """clear downloaded sources, build and temp directories""" bb.build.exec_func('do_clean', d) -- cgit 1.2.3-korg