From 3b24abaa1b8c13c426d8031269459cfa632fe218 Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Sun, 2 May 2021 11:57:57 -0400 Subject: [PATCH] Makefile: clean use git clean to delete all gitignore files recursively --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index f9bf4b70d6..847d81c9e0 100644 --- a/Makefile +++ b/Makefile @@ -469,6 +469,8 @@ validate_module_configs: clean: @rm -rf "$(SRC_DIR)"/build + @git clean -dfX -e ".project" -e ".cproject" -e ".idea" -e ".settings" -e ".vscode" + @git submodule foreach git clean -dfX -e ".project" -e ".cproject" -e ".idea" -e ".settings" -e ".vscode" submodulesclean: @git submodule foreach --quiet --recursive git clean -ff -x -d