forked from Archive/PX4-Autopilot
Makefile: keep git clean for submodules to resolve incomplete dependency problems
This commit is contained in:
parent
68a9e981b1
commit
c1d3be4258
3
Makefile
3
Makefile
|
@ -469,8 +469,7 @@ validate_module_configs:
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@rm -rf "$(SRC_DIR)"/build
|
@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 -df
|
||||||
@git submodule foreach git clean -dfX
|
|
||||||
|
|
||||||
submodulesclean:
|
submodulesclean:
|
||||||
@git submodule foreach --quiet --recursive git clean -ff -x -d
|
@git submodule foreach --quiet --recursive git clean -ff -x -d
|
||||||
|
|
Loading…
Reference in New Issue