From 26fab8e51c72f0d1c50a470c150a0d2b76c9699c Mon Sep 17 00:00:00 2001 From: caila-marashaj Date: Mon, 6 May 2024 16:02:06 -0400 Subject: [PATCH] ignore targets within prep_fw if sensors --- push | 2 ++ 1 file changed, 2 insertions(+) diff --git a/push b/push index 376ebfa47..5c59be9f2 100755 --- a/push +++ b/push @@ -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)