Browse Source

Replay: move to using tool instead of tools program group

gps-1.3.1
Siddharth Purohit 4 years ago committed by Andrew Tridgell
parent
commit
b39b4abb12
  1. 4
      Tools/Replay/Makefile
  2. 2
      Tools/Replay/check_replay_branch.py
  3. 2
      Tools/Replay/wscript

4
Tools/Replay/Makefile

@ -2,8 +2,8 @@ @@ -2,8 +2,8 @@
all:
@cd ../../ && modules/waf/waf-light configure --board sitl --debug --disable-scripting
@cd ../../ && modules/waf/waf-light --target tools/Replay
@cp ../../build/sitl/tools/Replay Replay.elf
@cd ../../ && modules/waf/waf-light --target tool/Replay
@cp ../../build/sitl/tool/Replay Replay.elf
@echo Built Replay.elf
clean:

2
Tools/Replay/check_replay_branch.py

@ -95,7 +95,7 @@ class CheckReplayBranch(object): @@ -95,7 +95,7 @@ class CheckReplayBranch(object):
subprocess.check_call(["./waf", "replay"])
def run_replay_on_log(self, logfile_path):
subprocess.check_call(["./build/sitl/tools/Replay", logfile_path])
subprocess.check_call(["./build/sitl/tool/Replay", logfile_path])
def get_logs(self):
return sorted(glob.glob("logs/*.BIN"))

2
Tools/Replay/wscript

@ -23,6 +23,6 @@ def build(bld): @@ -23,6 +23,6 @@ def build(bld):
)
bld.ap_program(
program_groups=['tools','replay'],
program_groups=['tool','replay'],
use=vehicle + '_libs',
)

Loading…
Cancel
Save