mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-27 02:06:27 +08:00
Creating Firmware ZIP file and ignoring it in GIT
This commit is contained in:
@@ -38,3 +38,4 @@ tags
|
|||||||
.pydevproject
|
.pydevproject
|
||||||
.ropeproject
|
.ropeproject
|
||||||
*.orig
|
*.orig
|
||||||
|
Firmware.zip
|
||||||
|
|||||||
@@ -229,6 +229,7 @@ updatesubmodules:
|
|||||||
#
|
#
|
||||||
testbuild:
|
testbuild:
|
||||||
$(Q) (cd $(PX4_BASE) && $(MAKE) distclean && $(MAKE) archives && $(MAKE) -j8)
|
$(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
|
# Unittest targets. Builds and runs the host-level
|
||||||
@@ -244,14 +245,14 @@ tests:
|
|||||||
#
|
#
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
$(Q) $(RMDIR) $(BUILD_DIR)*.build
|
$(Q) $(RMDIR) $(BUILD_DIR)*.build > /dev/null
|
||||||
$(Q) $(REMOVE) $(IMAGE_DIR)*.px4
|
$(Q) $(REMOVE) $(IMAGE_DIR)*.px4 > /dev/null
|
||||||
|
|
||||||
.PHONY: distclean
|
.PHONY: distclean
|
||||||
distclean: clean
|
distclean: clean
|
||||||
$(Q) $(REMOVE) $(ARCHIVE_DIR)*.export
|
$(Q) $(REMOVE) $(ARCHIVE_DIR)*.export > /dev/null
|
||||||
$(Q) $(MAKE) -C $(NUTTX_SRC) -r $(MQUIET) distclean
|
$(Q) $(MAKE) -C $(NUTTX_SRC) -r $(MQUIET) distclean > /dev/null
|
||||||
$(Q) (cd $(NUTTX_SRC)/configs && $(FIND) . -maxdepth 1 -type l -delete)
|
$(Q) (cd $(NUTTX_SRC)/configs && $(FIND) . -maxdepth 1 -type l -delete) > /dev/null
|
||||||
|
|
||||||
#
|
#
|
||||||
# Print some help text
|
# Print some help text
|
||||||
|
|||||||
Reference in New Issue
Block a user