summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts/lib/devtool/standard.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py
index 711399a1fc..cdd76dc9a7 100644
--- a/scripts/lib/devtool/standard.py
+++ b/scripts/lib/devtool/standard.py
@@ -1320,7 +1320,7 @@ def reset(args, config, basepath, workspace):
1320 for recipe in recipes: 1320 for recipe in recipes:
1321 targets.append(recipe) 1321 targets.append(recipe)
1322 recipefile = workspace[recipe]['recipefile'] 1322 recipefile = workspace[recipe]['recipefile']
1323 if recipefile: 1323 if recipefile and os.path.exists(recipefile):
1324 targets.extend(get_bbclassextend_targets(recipefile, recipe)) 1324 targets.extend(get_bbclassextend_targets(recipefile, recipe))
1325 try: 1325 try:
1326 exec_build_env_command(config.init_path, basepath, 'bitbake -c clean %s' % ' '.join(targets)) 1326 exec_build_env_command(config.init_path, basepath, 'bitbake -c clean %s' % ' '.join(targets))