clean: rename clean_workdir to remove_workdir
authorChris Larson <chris_larson@mentor.com>
Thu, 28 Oct 2010 00:21:58 +0000 (17:21 -0700)
committerChris Larson <chris_larson@mentor.com>
Thu, 28 Oct 2010 00:24:19 +0000 (17:24 -0700)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
classes/clean.bbclass

index fc53a63..94b97e7 100644 (file)
@@ -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)
 }