project/qemu: Add Python run script
Add run.py which provides a Python alternative to the shell script
is currently generated by qemu-inc.mk. Rather than emitting the run
script, we symlink it to run.py. This means that other build scripts
can import run.py and call any exported function rather than calling
a shell script in a subprocess. This enables later changes to speed
up testing in QEMU.
Test: build.py qemu-generic-arm64-test-debug
Bug: 242077104
Change-Id: I5f5bb3b088d8b2039e909beffe2eb5feedde472a
2 files changed