Browse Source

Add a top-level Makefile rule for building "everything" as a test.

sbg
px4dev 12 years ago
parent
commit
f8951759f8
  1. 9
      Makefile

9
Makefile

@ -161,6 +161,12 @@ $(NUTTX_SRC): @@ -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: @@ -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) ""

Loading…
Cancel
Save