summaryrefslogtreecommitdiffhomepage
path: root/Boot
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-05-20 10:33:14 +0200
committerAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-05-20 10:33:14 +0200
commitf022a2afeb7af04ce3ef256ef617d19f07d84d9a (patch)
treee34e6a467af6c7af028a7cda355a78b0adaf42e8 /Boot
parentaad2c069563a3e7318b575216db6deb313445f2c (diff)
MHR-23: Defaulting to macOS/Linux for the toolchain.
Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Boot')
-rw-r--r--Boot/makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Boot/makefile b/Boot/makefile
index 8eef2dba..4b4ca293 100644
--- a/Boot/makefile
+++ b/Boot/makefile
@@ -12,10 +12,10 @@ ADD_FILE=touch
COPY=cp
HTTP_GET=wget
-ifneq ($(shell uname), Darwin)
-EMU=qemu-system-x86_64w
-else
+ifneq ($(shell uname), Windows_NT)
EMU=qemu-system-x86_64
+else
+EMU=qemu-system-x86_64w
endif
ifeq ($(NEWS_MODEL), )
@@ -26,7 +26,7 @@ BIOS=OVMF.fd
IMG=epm.img
IMG_2=epm-slave.img
-EMU_FLAGS=-net none -smp 4,sockets=1,cores=4,threads=1 -m 8G -M q35 \
+EMU_FLAGS=-net none -smp 4,sockets=1,cores=4,threads=1 -m 4G -M q35 \
-bios Source/$(BIOS) -device piix3-ide,id=ide \
-drive id=disk,file=$(IMG),format=raw,if=none \
-device ide-hd,drive=disk,bus=ide.0 -drive \