aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-09-21 05:06:21 +0000
committerKhem Raj <raj.khem@gmail.com>2010-09-26 09:43:16 -0700
commit18f06253366c954ce6c20a8ddf494fabb153a140 (patch)
tree311f01b9791276de7fbd80264f196ac89715863a
parentde71473adf0c9ef52c2168903b558cc2d6e2a122 (diff)
downloadopenembedded-18f06253366c954ce6c20a8ddf494fabb153a140.zip
openembedded-18f06253366c954ce6c20a8ddf494fabb153a140.tar.gz
openembedded-18f06253366c954ce6c20a8ddf494fabb153a140.tar.bz2
utility-tasks.bbclass: drop mrproper task
This task is misleading and potentially quite harmful, as it wipes the entire DL_DIR, yet tasks are supposed to be recipe specific. We have the proper distclean task to wipe sources for a recipe + run do_clean, and the user can always wipe all of DL_DIR manually if necessary. Signed-off-by: Chris Larson <chris_larson@mentor.com> Acked-by: Holger Hans Peter Freyther <holger@moiji-mobile.com> Acked-by: Eric BĂ©nard <eric@eukrea.com>
-rw-r--r--classes/utility-tasks.bbclass12
1 files changed, 0 insertions, 12 deletions
diff --git a/classes/utility-tasks.bbclass b/classes/utility-tasks.bbclass
index 29bc781..7495d96 100644
--- a/classes/utility-tasks.bbclass
+++ b/classes/utility-tasks.bbclass
@@ -38,18 +38,6 @@ 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 distclean
do_distclean[dirs] = "${TOPDIR}"
do_distclean[nostamp] = "1"