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:
parent
bc4d25242f
commit
a12470f7a7
4
Makefile
4
Makefile
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user