diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2020-08-30 22:23:25 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2020-08-30 22:27:14 +0200 |
commit | 86a6ec45acb4073df4817c91a052c3c2f6676883 (patch) | |
tree | 2de204954c34bad3f3cc640618ace96ac7f34ff2 | |
parent | 856e37eced52b7333b9760429448d1d3f9c53fb7 (diff) | |
download | ptxdist-2020.09.0.tar.gz ptxdist-2020.09.0.tar.xz |
qemu: qemu-cross: set argv0ptxdist-2020.09.0
We call the linker explicitly, so that we can use its '--inhibit-cache'
argument. Use the '-0 <argv0>' qemu-user option to ensure that argv0 is the
actual application that is started.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rwxr-xr-x | config/qemu/qemu-cross | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/qemu/qemu-cross b/config/qemu/qemu-cross index 0d3f04ff3..c4b6f2d44 100755 --- a/config/qemu/qemu-cross +++ b/config/qemu/qemu-cross @@ -30,7 +30,8 @@ while [ ${#} -gt 0 ]; do ;; esac done - +args[${#args[@]}]="-0" +args[${#args[@]}]="${1}" args[${#args[@]}]="${linker}" args[${#args[@]}]="--inhibit-cache" case "${1}" in |