Replay: move to using tool instead of tools program group

This commit is contained in:
Siddharth Purohit 2021-07-05 15:09:16 +05:30 committed by Andrew Tridgell
parent f4b2b3b214
commit b39b4abb12
3 changed files with 4 additions and 4 deletions

View File

@ -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:

View File

@ -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"))

View File

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