diff --git a/Makefile b/Makefile index a2dcd97b8b..c02a986cdd 100644 --- a/Makefile +++ b/Makefile @@ -161,6 +161,12 @@ $(NUTTX_SRC): @$(ECHO) "NuttX sources missing - clone https://github.com/PX4/NuttX.git and try again." @$(ECHO) "" +# +# Testing targets +# +testbuild: + $(Q) (cd $(PX4_BASE) && make distclean && make archives && make -j8) + # # Cleanup targets. 'clean' should remove all built products and force # a complete re-compilation, 'distclean' should remove everything @@ -211,6 +217,9 @@ help: @$(ECHO) " firmware to the board when the build is complete. Not supported for" @$(ECHO) " all configurations." @$(ECHO) "" + @$(ECHO) " testbuild" + @$(ECHO) " Perform a complete clean build of the entire tree." + @$(ECHO) "" @$(ECHO) " Common options:" @$(ECHO) " ---------------" @$(ECHO) ""