1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-01 09:24:10 +01:00

GCS-Added fw bundle resource to the uploader plugin

This commit is contained in:
PT_Dreamer 2012-10-06 19:46:33 +01:00
parent ce338fdf4f
commit 4e4ed172c1
2 changed files with 7 additions and 6 deletions

View File

@ -45,3 +45,6 @@ FORMS += \
RESOURCES += \
uploader.qrc
exists( ../../../../build/ground/opfw_resource/opfw_resource.qrc ) {
\ ../../../../build/ground/opfw_resource/opfw_resource.qrc
}

View File

@ -146,6 +146,4 @@ opfw_resource:
$(V1) echo '$(OPFW_CONTENTS)' > $(BUILD_DIR)/ground/$@/opfw_resource.qrc
$(V1) $(foreach fw_targ, $(FW_TARGETS), mkdir -p $(BUILD_DIR)/ground/$@/build/$(fw_targ);)
$(V1)$(foreach fw_targ, $(FW_TARGETS), cp $(BUILD_DIR)/$(fw_targ)/$(fw_targ).opfw $(BUILD_DIR)/ground/$@/build/$(fw_targ)/;)
$(V1) rcc -binary $(BUILD_DIR)/ground/$@/opfw_resource.qrc -o $(BUILD_DIR)/ground/$@/opfw_resource.rcc
$(V1) $(RM) -fr $(BUILD_DIR)/ground/$@/build
include $(WHEREAMI)/Makefile.$(PLATFORM)