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 e2f4f8fca3..5be4d26b29 100644
--- a/scripts/lib/devtool/standard.py
+++ b/scripts/lib/devtool/standard.py
@@ -1323,7 +1323,7 @@ def reset(args, config, basepath, workspace):
1323 for recipe in recipes: 1323 for recipe in recipes:
1324 targets.append(recipe) 1324 targets.append(recipe)
1325 recipefile = workspace[recipe]['recipefile'] 1325 recipefile = workspace[recipe]['recipefile']
1326 if recipefile: 1326 if recipefile and os.path.exists(recipefile):
1327 targets.extend(get_bbclassextend_targets(recipefile, recipe)) 1327 targets.extend(get_bbclassextend_targets(recipefile, recipe))
1328 try: 1328 try:
1329 exec_build_env_command(config.init_path, basepath, 'bitbake -c clean %s' % ' '.join(targets)) 1329 exec_build_env_command(config.init_path, basepath, 'bitbake -c clean %s' % ' '.join(targets))