diff options
-rw-r--r-- | classes/srctree.bbclass | 12 |
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) } |