From aa1c72fc4bf52283506ee69178229ff71941ec26 Mon Sep 17 00:00:00 2001 From: g1n Date: Tue, 17 Aug 2021 10:36:57 +0300 Subject: [PATCH] Fix qemu scripts --- qemu-only-kernel.sh | 2 +- qemu.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/qemu-only-kernel.sh b/qemu-only-kernel.sh index 5aef328..999a03a 100755 --- a/qemu-only-kernel.sh +++ b/qemu-only-kernel.sh @@ -2,4 +2,4 @@ set -e . ./build.sh -qemu-system-x86_64 -kernel sysroot/boot/orion.kernel -serial stdio +qemu-system-$(./target-triplet-to-arch.sh $HOST) -kernel sysroot/boot/orion.kernel -serial stdio diff --git a/qemu.sh b/qemu.sh index 990e210..e208f6d 100755 --- a/qemu.sh +++ b/qemu.sh @@ -2,4 +2,4 @@ set -e . ./iso.sh -qemu-system-x86_64 -cdrom orion.iso -serial stdio +qemu-system-$(./target-triplet-to-arch.sh $HOST) -cdrom orion.iso -serial stdio