aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorpx4dev <px4@purgatory.org>2013-05-17 01:55:02 -0700
committerpx4dev <px4@purgatory.org>2013-05-17 01:55:02 -0700
commit504b6d12561d68874ded4c1f747c21926a065045 (patch)
treeeb6cfc7eea283a0ffeaddc25ef51aa3acba4e83c /Makefile
parentfa816d0fd65da461fd5bf8803cf00caebaf23c5c (diff)
downloadpx4-firmware-504b6d12561d68874ded4c1f747c21926a065045.tar.gz
px4-firmware-504b6d12561d68874ded4c1f747c21926a065045.tar.bz2
px4-firmware-504b6d12561d68874ded4c1f747c21926a065045.zip
Hotfix: install the firmware .bin files as well as the .px4 bundles until we have a chance to fix the px4io uploader.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1d1287b7f..dea344390 100644
--- a/Makefile
+++ b/Makefile
@@ -95,9 +95,14 @@ all: $(STAGED_FIRMWARES)
#
# 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
@echo %% Copying $@
$(Q) $(COPY) $< $@
+ $(Q) $(COPY) $(patsubst %.px4,%.bin,$<) $(patsubst %.px4,%.bin,$@)
#
# Generate FIRMWARES.