diff options
Diffstat (limited to 'zephyr/zmake/zmake/util.py')
-rw-r--r-- | zephyr/zmake/zmake/util.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/zephyr/zmake/zmake/util.py b/zephyr/zmake/zmake/util.py index 946fd41521..1f052a3688 100644 --- a/zephyr/zmake/zmake/util.py +++ b/zephyr/zmake/zmake/util.py @@ -180,8 +180,7 @@ def resolve_build_dir(platform_ec_dir, project_dir, build_dir): Returns: The resolved build directory (using build_dir if not None). """ - if build_dir and (not pathlib.Path.exists(build_dir) or pathlib.Path.exists( - build_dir / 'project' / 'zmake.yaml')): + if build_dir: return build_dir if not pathlib.Path.exists(project_dir / 'zmake.yaml'): |