aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-10-27 17:21:58 -0700
committerChris Larson <chris_larson@mentor.com>2010-10-27 17:24:19 -0700
commit1a7c215aaf0ce46cbabf06fbdaa9d69b9d1ef29c (patch)
tree6aa3292cee37f6111f39c9dd1b12ce7eaeff715d
parentddffbe483ece35a02449d56b1a1ea45af08a0f4d (diff)
downloadopenembedded-1a7c215aaf0ce46cbabf06fbdaa9d69b9d1ef29c.tar.gz
openembedded-1a7c215aaf0ce46cbabf06fbdaa9d69b9d1ef29c.tar.bz2
openembedded-1a7c215aaf0ce46cbabf06fbdaa9d69b9d1ef29c.zip
clean: rename clean_workdir to remove_workdir
Signed-off-by: Chris Larson <chris_larson@mentor.com>
-rw-r--r--classes/clean.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/clean.bbclass b/classes/clean.bbclass
index fc53a63f97..94b97e70ed 100644
--- a/classes/clean.bbclass
+++ b/classes/clean.bbclass
@@ -19,7 +19,7 @@ def clean_stamps(d):
except OSError:
pass
-def clean_workdir(d):
+def remove_workdir(d):
from shutil import rmtree
from bb import note
@@ -54,7 +54,7 @@ python do_clean () {
bb.note("Removing staging package %s" % base_path_out(stagepkg, d))
os.system('rm -rf ' + stagepkg)
clean_stamps(d)
- clean_workdir(d)
+ remove_workdir(d)
clean_builddir(d)
clean_make(d)
}