waf: also run Tools/gittools/submodule-sync.sh at distclean

This commit is contained in:
bugobliterator authored and Tom Pittenger committed 2023-05-26 10:50:04 -07:00
1 parent a47c97bb9f
commit 22c1470aca
1 file changed
+5
+5
View File
@@ -86,6 +86,11 @@ def _set_build_context_variant(board):
continue
c.variant = board
# run Tools/gittools/submodule-sync.sh to sync submodules as well at distclean
@conf
def distclean(ctx):
subprocess.call(['Tools/gittools/submodule-sync.sh'])
def init(ctx):
# Generate Task List, so that VS Code extension can keep track
# of changes to possible build targets