make submodulesclean deinit

This commit is contained in:
Daniel Agar
2016-03-15 16:13:43 -04:00
committed by Lorenz Meier
parent 4b3aab2767
commit 319fb6b9f9
+1 -1
View File
@@ -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