From f8951759f8265fb57f25238d0bf6ee9dd81d6a49 Mon Sep 17 00:00:00 2001 From: px4dev Date: Sun, 4 Aug 2013 19:50:23 -0700 Subject: [PATCH] Add a top-level Makefile rule for building "everything" as a test. --- Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) 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) ""