aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorpx4dev <px4@purgatory.org>2013-08-04 19:50:23 -0700
committerpx4dev <px4@purgatory.org>2013-08-04 19:50:23 -0700
commitf8951759f8265fb57f25238d0bf6ee9dd81d6a49 (patch)
tree05f39c3df9e90657a4db63478c25eae3094575d3 /Makefile
parent1acbbe46d178c7eb2d11a9ba3349d274a3dd1581 (diff)
downloadpx4-firmware-f8951759f8265fb57f25238d0bf6ee9dd81d6a49.tar.gz
px4-firmware-f8951759f8265fb57f25238d0bf6ee9dd81d6a49.tar.bz2
px4-firmware-f8951759f8265fb57f25238d0bf6ee9dd81d6a49.zip
Add a top-level Makefile rule for building "everything" as a test.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a2dcd97b8..c02a986cd 100644
--- a/Makefile
+++ b/Makefile
@@ -162,6 +162,12 @@ $(NUTTX_SRC):
@$(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
# that's generated leaving only files that are in source control.
@@ -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) ""