idf.py: fix fallback to build system target

This commit is contained in:
Ivan Grokhotkov
2019-11-28 14:47:41 +01:00
committed by bot
parent 70cfd7e24c
commit 562a3980b2
2 changed files with 11 additions and 1 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ def action_extensions(base_actions, project_path):
ensure_build_directory(args, ctx.info_name)
try:
subprocess.check_output(GENERATORS[args.generator]["dry_run"] + [target_name], cwd=args.cwd)
subprocess.check_output(GENERATORS[args.generator]["dry_run"] + [target_name], cwd=args.build_dir)
except Exception:
raise FatalError(