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

This commit is contained in:
bugobliterator 2023-05-26 13:34:18 +10:00 committed by Tom Pittenger
parent a47c97bb9f
commit 22c1470aca

View File

@ -86,6 +86,11 @@ def _set_build_context_variant(board):
continue continue
c.variant = board 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): def init(ctx):
# Generate Task List, so that VS Code extension can keep track # Generate Task List, so that VS Code extension can keep track
# of changes to possible build targets # of changes to possible build targets