Makefile: keep git clean for submodules to resolve incomplete dependency problems

This commit is contained in:
Daniel Agar 2021-05-04 12:12:04 -04:00
parent 68a9e981b1
commit c1d3be4258
1 changed files with 1 additions and 2 deletions

View File

@ -469,8 +469,7 @@ validate_module_configs:
clean:
@rm -rf "$(SRC_DIR)"/build
@git clean -df -e ".project" -e ".cproject" -e ".idea" -e ".project" -e ".settings" -e ".vscode"
@git submodule foreach git clean -dfX
@git submodule foreach git clean -df
submodulesclean:
@git submodule foreach --quiet --recursive git clean -ff -x -d