aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2014-12-21 12:09:16 +0100
committerLorenz Meier <lm@inf.ethz.ch>2014-12-21 12:09:16 +0100
commit032b25c81baf8473cc2b909d8d6049437b3a5ed3 (patch)
treef0d0dc316c97bbb766efc4eca49d5c0b16227bcf /Makefile
parenta2e662f05ca4c65234bff2cf27e8d85666e277c0 (diff)
downloadpx4-firmware-032b25c81baf8473cc2b909d8d6049437b3a5ed3.tar.gz
px4-firmware-032b25c81baf8473cc2b909d8d6049437b3a5ed3.tar.bz2
px4-firmware-032b25c81baf8473cc2b909d8d6049437b3a5ed3.zip
Creating Firmware ZIP file and ignoring it in GIT
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index cfc8159b1..0f68e7b4b 100644
--- a/Makefile
+++ b/Makefile
@@ -229,6 +229,7 @@ updatesubmodules:
#
testbuild:
$(Q) (cd $(PX4_BASE) && $(MAKE) distclean && $(MAKE) archives && $(MAKE) -j8)
+ $(Q) (zip -r Firmware.zip $(PX4_BASE)/Images)
#
# Unittest targets. Builds and runs the host-level
@@ -244,14 +245,14 @@ tests:
#
.PHONY: clean
clean:
- $(Q) $(RMDIR) $(BUILD_DIR)*.build
- $(Q) $(REMOVE) $(IMAGE_DIR)*.px4
+ $(Q) $(RMDIR) $(BUILD_DIR)*.build > /dev/null
+ $(Q) $(REMOVE) $(IMAGE_DIR)*.px4 > /dev/null
.PHONY: distclean
distclean: clean
- $(Q) $(REMOVE) $(ARCHIVE_DIR)*.export
- $(Q) $(MAKE) -C $(NUTTX_SRC) -r $(MQUIET) distclean
- $(Q) (cd $(NUTTX_SRC)/configs && $(FIND) . -maxdepth 1 -type l -delete)
+ $(Q) $(REMOVE) $(ARCHIVE_DIR)*.export > /dev/null
+ $(Q) $(MAKE) -C $(NUTTX_SRC) -r $(MQUIET) distclean > /dev/null
+ $(Q) (cd $(NUTTX_SRC)/configs && $(FIND) . -maxdepth 1 -type l -delete) > /dev/null
#
# Print some help text