From a4c17a391340d997a8fa86065354a749adc51b15 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 3 Jun 2019 21:48:27 +1000 Subject: [PATCH] Tools: move skip_board_waf after update_submodules in build_binaries thanks to Peter for noticing this --- Tools/scripts/build_binaries.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Tools/scripts/build_binaries.py b/Tools/scripts/build_binaries.py index 5b31af7648..8ab0ea5edc 100755 --- a/Tools/scripts/build_binaries.py +++ b/Tools/scripts/build_binaries.py @@ -343,8 +343,6 @@ is bob we will attempt to checkout bob-AVR''' self.progress(msg) self.error_strings.append(msg) continue - if self.skip_board_waf(board): - continue self.progress("Building %s %s %s binaries %s" % (vehicle, tag, board, frame)) @@ -362,6 +360,9 @@ is bob we will attempt to checkout bob-AVR''' # builds we will not be running self.run_git_update_submodules() + if self.skip_board_waf(board): + continue + if os.path.exists(self.buildroot): shutil.rmtree(self.buildroot)