From 504b6d12561d68874ded4c1f747c21926a065045 Mon Sep 17 00:00:00 2001 From: px4dev Date: Fri, 17 May 2013 01:55:02 -0700 Subject: [PATCH] Hotfix: install the firmware .bin files as well as the .px4 bundles until we have a chance to fix the px4io uploader. --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 1d1287b7f7..dea3443901 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.