From 319fb6b9f96cd021672cb4efa8a120a7d43abab5 Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Tue, 15 Mar 2016 16:13:43 -0400 Subject: [PATCH] make submodulesclean deinit --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4a30a9c28b..188486b5c1 100644 --- a/Makefile +++ b/Makefile @@ -215,9 +215,9 @@ clean: @(cd NuttX/nuttx && make clean) submodulesclean: + @git submodule deinit -f . @git submodule sync @git submodule update --init --recursive --force - @git submodule foreach --recursive 'git reset --hard; git clean -ff -x -d' distclean: submodulesclean @git clean -ff -x -d