[oe-commits] Chris Larson : utility-tasks: unbork do_{clean, rebuild, mrproper, distclean}
git version control
git at git.openembedded.org
Sat Mar 20 18:57:43 UTC 2010
Module: openembedded.git
Branch: shr/unstable
Commit: bcf8d1320ff6b1f27f367392c4c867a2a9e41c69
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=bcf8d1320ff6b1f27f367392c4c867a2a9e41c69
Author: Chris Larson <chris_larson at mentor.com>
Date: Fri Mar 19 16:46:57 2010 -0700
utility-tasks: unbork do_{clean,rebuild,mrproper,distclean}
Signed-off-by: Chris Larson <chris_larson at mentor.com>
---
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 0f9d016..29bc781 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)
More information about the Openembedded-commits
mailing list