mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-03 04:03:59 -04:00
PX4: make upload targets depend on build targets
this allows for "make px4-v1-upload" for faster development cycles
This commit is contained in:
parent
38fe89d661
commit
1137de1002
@ -63,12 +63,12 @@ px4: px4-v1 px4-v2
|
||||
px4-clean: clean px4-archives-clean
|
||||
$(v) /bin/rm -rf $(PX4_ROOT)/makefiles/build $(PX4_ROOT)/Build
|
||||
|
||||
px4-v1-upload:
|
||||
px4-v1-upload: px4-v1
|
||||
$(RULEHDR)
|
||||
$(v) ln -sf $(PWD)/$(PX4_V1_CONFIG_FILE) $(PX4_ROOT)/makefiles/
|
||||
$(v) $(PX4_MAKE) px4fmu-v1_APM upload
|
||||
|
||||
px4-v2-upload:
|
||||
px4-v2-upload: px4-v2
|
||||
$(RULEHDR)
|
||||
$(v) ln -sf $(PWD)/$(PX4_V2_CONFIG_FILE) $(PX4_ROOT)/makefiles/
|
||||
$(v) $(PX4_MAKE) px4fmu-v2_APM upload
|
||||
|
Loading…
Reference in New Issue
Block a user