diff options
author | Chris Larson <chris_larson@mentor.com> | 2010-03-19 16:46:57 -0700 |
---|---|---|
committer | Chris Larson <chris_larson@mentor.com> | 2010-03-19 16:53:06 -0700 |
commit | bcf8d1320ff6b1f27f367392c4c867a2a9e41c69 (patch) | |
tree | ebfb25a372ea3e028c540e507dc64e9c374ba582 /classes/utility-tasks.bbclass | |
parent | ccb23a493e54f2c3ccb3e7e74fa32a24842c6c29 (diff) | |
download | openembedded-bcf8d1320ff6b1f27f367392c4c867a2a9e41c69.tar.gz |
utility-tasks: unbork do_{clean,rebuild,mrproper,distclean}
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Diffstat (limited to 'classes/utility-tasks.bbclass')
-rw-r--r-- | classes/utility-tasks.bbclass | 8 |
1 files changed, 4 insertions, 4 deletions
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) |