mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 02:55:07 +08:00
Run clean beffore distclean so that a partial build is wiped as well.
This commit is contained in:
committed by
Lorenz Meier
parent
69c28177ac
commit
2b9596cac0
@@ -265,14 +265,14 @@ package_firmware:
|
|||||||
|
|
||||||
clean:
|
clean:
|
||||||
@rm -rf build_*/
|
@rm -rf build_*/
|
||||||
@$(MAKE) -C NuttX/nuttx clean
|
-@$(MAKE) -C NuttX/nuttx clean
|
||||||
|
|
||||||
submodulesclean:
|
submodulesclean:
|
||||||
@git submodule sync --recursive
|
@git submodule sync --recursive
|
||||||
@git submodule deinit -f .
|
@git submodule deinit -f .
|
||||||
@git submodule update --init --recursive --force
|
@git submodule update --init --recursive --force
|
||||||
|
|
||||||
distclean: submodulesclean
|
distclean: submodulesclean clean
|
||||||
@git clean -ff -x -d -e ".project" -e ".cproject"
|
@git clean -ff -x -d -e ".project" -e ".cproject"
|
||||||
|
|
||||||
# All other targets are handled by PX4_MAKE. Add a rule here to avoid printing an error.
|
# All other targets are handled by PX4_MAKE. Add a rule here to avoid printing an error.
|
||||||
|
|||||||
Reference in New Issue
Block a user