Meta: Don't use x86_64 QEMU for the i686 kernel
This seemed like a good idea at the time to avoid an unnecessary dependency on qemu-system-i386. However this makes debugging the kernel with GDB more difficult because GDB assumes that the QEMU architectures matches the kernel architecture.
This commit is contained in:
parent
ba768eb872
commit
45f2e9f3cf
Notes:
sideshowbarker
2024-07-18 07:17:14 +09:00
Author: https://github.com/gunnarbeutner Commit: https://github.com/SerenityOS/serenity/commit/45f2e9f3cff Pull-request: https://github.com/SerenityOS/serenity/pull/9275
1 changed files with 1 additions and 4 deletions
|
@ -55,12 +55,9 @@ if [ -z "$SERENITY_QEMU_BIN" ]; then
|
|||
QEMU_BINARY_SUFFIX=".exe"
|
||||
fi
|
||||
fi
|
||||
if command -v "${QEMU_BINARY_PREFIX}qemu-system-x86_64${QEMU_BINARY_SUFFIX}" >/dev/null; then
|
||||
if [ "$SERENITY_ARCH" = "x86_64" ]; then
|
||||
SERENITY_QEMU_BIN="${QEMU_BINARY_PREFIX}qemu-system-x86_64${QEMU_BINARY_SUFFIX}"
|
||||
else
|
||||
if [ "$SERENITY_ARCH" = "x86_64" ]; then
|
||||
die "Please install the 64-bit QEMU system emulator (qemu-system-x86_64)."
|
||||
fi
|
||||
SERENITY_QEMU_BIN="${QEMU_BINARY_PREFIX}qemu-system-i386${QEMU_BINARY_SUFFIX}"
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue