Skip to content

Commit

Permalink
ignore targets within prep_fw if sensors
Browse files Browse the repository at this point in the history
  • Loading branch information
caila-marashaj committed May 6, 2024
1 parent b5a3817 commit 26fab8e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions push
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ def _prep_firmware(repo_path, cmake, sensors, targets):
if sensors:
working_dir = working_dir+"-sensor"
full_build_preset = full_build_preset+"-sensors"
# if sensors is true, disregard targets within the scope of this function
targets = None
if targets:
for target in targets:
_cmd([cmake, '--build', 'build-cross', '--target', f'{target}-images'], cwd=repo_path)
Expand Down

0 comments on commit 26fab8e

Please sign in to comment.