mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-28 15:23:34 +08:00
Merge branch 'master' into seatbelt_multirotor
This commit is contained in:
@@ -95,9 +95,14 @@ all: $(STAGED_FIRMWARES)
|
|||||||
#
|
#
|
||||||
# Copy FIRMWARES into the image directory.
|
# Copy FIRMWARES into the image directory.
|
||||||
#
|
#
|
||||||
|
# XXX copying the .bin files is a hack to work around the PX4IO uploader
|
||||||
|
# not supporting .px4 files, and it should be deprecated onced that
|
||||||
|
# is taken care of.
|
||||||
|
#
|
||||||
$(STAGED_FIRMWARES): $(IMAGE_DIR)%.px4: $(BUILD_DIR)%.build/firmware.px4
|
$(STAGED_FIRMWARES): $(IMAGE_DIR)%.px4: $(BUILD_DIR)%.build/firmware.px4
|
||||||
@echo %% Copying $@
|
@echo %% Copying $@
|
||||||
$(Q) $(COPY) $< $@
|
$(Q) $(COPY) $< $@
|
||||||
|
$(Q) $(COPY) $(patsubst %.px4,%.bin,$<) $(patsubst %.px4,%.bin,$@)
|
||||||
|
|
||||||
#
|
#
|
||||||
# Generate FIRMWARES.
|
# Generate FIRMWARES.
|
||||||
|
|||||||
Reference in New Issue
Block a user