mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
Meta: Prefer to use the QEMU binaries from the toolchain directory
This commit is contained in:
parent
57340dda36
commit
0ec1077bcb
Notes:
sideshowbarker
2024-07-18 11:04:57 +09:00
Author: https://github.com/gunnarbeutner Commit: https://github.com/SerenityOS/serenity/commit/0ec1077bcb7 Pull-request: https://github.com/SerenityOS/serenity/pull/8401 Reviewed-by: https://github.com/awesomekling
2 changed files with 20 additions and 0 deletions
|
@ -18,6 +18,16 @@ if [ "$(uname -s)" = "Darwin" ]; then
|
|||
export PATH="/usr/local/opt/e2fsprogs/sbin:$PATH"
|
||||
fi
|
||||
|
||||
SCRIPT_DIR="$(dirname "${0}")"
|
||||
|
||||
# Prepend the toolchain qemu directory so we pick up QEMU from there
|
||||
PATH="$SCRIPT_DIR/../Toolchain/Local/qemu/bin:$PATH"
|
||||
|
||||
# Also prepend the i686 toolchain directory because that's where most
|
||||
# people will have their QEMU binaries if they built them before the
|
||||
# directory was changed to Toolchain/Local/qemu.
|
||||
PATH="$SCRIPT_DIR/../Toolchain/Local/i686/bin:$PATH"
|
||||
|
||||
disk_usage() {
|
||||
# shellcheck disable=SC2003
|
||||
if [ "$(uname -s)" = "Darwin" ]; then
|
||||
|
|
10
Meta/run.sh
10
Meta/run.sh
|
@ -25,6 +25,16 @@ if [ "$(uname)" = "Darwin" ] && [ "$(uname -m)" = "x86_64" ]; then
|
|||
fi
|
||||
fi
|
||||
|
||||
SCRIPT_DIR="$(dirname "${0}")"
|
||||
|
||||
# Prepend the toolchain qemu directory so we pick up QEMU from there
|
||||
PATH="$SCRIPT_DIR/../Toolchain/Local/qemu/bin:$PATH"
|
||||
|
||||
# Also prepend the i686 toolchain directory because that's where most
|
||||
# people will have their QEMU binaries if they built them before the
|
||||
# directory was changed to Toolchain/Local/qemu.
|
||||
PATH="$SCRIPT_DIR/../Toolchain/Local/i686/bin:$PATH"
|
||||
|
||||
SERENITY_RUN="${SERENITY_RUN:-$1}"
|
||||
|
||||
if [ -z "$SERENITY_QEMU_BIN" ]; then
|
||||
|
|
Loading…
Reference in a new issue