From 6a5e3eadec25bfe03fdeff44197ffec45726484e Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Wed, 26 Aug 2009 14:02:19 -0700 Subject: srctree.bbclass: Don't automatically use git clean. This should be an opt-in feature. Signed-off-by: Chris Larson --- classes/srctree.bbclass | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'classes') 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) } -- cgit v1.2.3