summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorChris Larson <clarson@mvista.com>2009-08-26 14:02:19 -0700
committerChris Larson <clarson@mvista.com>2009-08-26 14:04:48 -0700
commit6a5e3eadec25bfe03fdeff44197ffec45726484e (patch)
tree40a0507b2e4180b7299c63c0fab1652cd408538f /classes
parent8ba4ce90740eb50ac0b1a394280ff94e388bda6a (diff)
srctree.bbclass: Don't automatically use git clean.
This should be an opt-in feature. Signed-off-by: Chris Larson <clarson@mvista.com>
Diffstat (limited to 'classes')
-rw-r--r--classes/srctree.bbclass12
1 files changed, 2 insertions, 10 deletions
diff --git a/classes/srctree.bbclass b/classes/srctree.bbclass
index 2a324cf1be..e2a4303472 100644
--- a/classes/srctree.bbclass
+++ b/classes/srctree.bbclass
@@ -126,16 +126,8 @@ def clean_make(d):
pass
python do_clean () {
- from os.path import exists
- from bb.build import FuncFailed
- from bb.data import expand
-
clean_stamps(d)
clean_workdir(d)
- if exists(expand("${S}/.git", d)) and \
- exists(expand("${S}/.gitignore", d)):
- clean_git(d)
- else:
- clean_builddir(d)
- clean_make(d)
+ clean_builddir(d)
+ clean_make(d)
}