diff --git a/Makefile b/Makefile index 58f849bf7..2aab91743 100644 --- a/Makefile +++ b/Makefile @@ -764,7 +764,7 @@ package: all_fw all_ground uavobjects_matlab $(V1) [ ! -d "$(PACKAGE_DIR)" ] || $(RM) -rf "$(PACKAGE_DIR)" $(V1) $(MKDIR) -p "$(PACKAGE_DIR)/firmware" $(foreach fw_targ, $(PACKAGE_FW_TARGETS), $(call COPY_FW_FILES,$(fw_targ),.opfw,.opfw)) - $(foreach fw_targ, $(PACKAGE_ELF_TARGETS), $(call COPY_FW_FILES,$(fw_targ),.elf,)) + $(foreach fw_targ, $(PACKAGE_ELF_TARGETS), $(call COPY_FW_FILES,$(fw_targ),.elf,.elf)) $(MAKE) --no-print-directory -C $(ROOT_DIR)/package --file=$(UNAME).mk $@ ##############################