diff --git a/Makefile b/Makefile index 79e67c2aff..4169d7759c 100644 --- a/Makefile +++ b/Makefile @@ -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