1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-29 14:52:12 +01:00

makefile: if all_fw or all_flight are requested, gcs will depend on opfw_resource

This commit is contained in:
Oleg Semyonov 2013-04-10 10:01:03 +03:00
parent bc4d25242f
commit a12470f7a7

View File

@ -755,8 +755,8 @@ $(OPFW_RESOURCE): $(FW_TARGETS)
$(V1) $(MKDIR) -p $(dir $@)
$(V1) $(ECHO) $(QUOTE)$(OPFW_CONTENTS)$(QUOTE) > $@
# If opfw_resource or all are requested, GCS should depend on the resource
ifneq ($(strip $(filter opfw_resource all,$(MAKECMDGOALS))),)
# If opfw_resource or all firmware are requested, GCS should depend on the resource
ifneq ($(strip $(filter opfw_resource all all_fw all_flight,$(MAKECMDGOALS))),)
$(eval openpilotgcs: | opfw_resource)
endif