summaryrefslogtreecommitdiffhomepage
path: root/Boot/makefile
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-05-17 22:25:04 +0200
committerAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-05-17 22:25:04 +0200
commitc0428f8e5feba9573e572a1a1b3c66cfa1f29108 (patch)
treea0ecdb03c667558133a23cd7cb546a3e84489659 /Boot/makefile
parent9ebaf586257bf42996881b70a79cb2d57d8fd1ef (diff)
MHR-23: Improve scheduler code.
Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Boot/makefile')
-rw-r--r--Boot/makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Boot/makefile b/Boot/makefile
index 878cee2a..8eef2dba 100644
--- a/Boot/makefile
+++ b/Boot/makefile
@@ -12,7 +12,7 @@ ADD_FILE=touch
COPY=cp
HTTP_GET=wget
-ifeq ($(shell uname), Windows_NT)
+ifneq ($(shell uname), Darwin)
EMU=qemu-system-x86_64w
else
EMU=qemu-system-x86_64
@@ -28,9 +28,9 @@ IMG_2=epm-slave.img
EMU_FLAGS=-net none -smp 4,sockets=1,cores=4,threads=1 -m 8G -M q35 \
-bios Source/$(BIOS) -device piix3-ide,id=ide \
- -drive id=disk,file=Source/$(IMG),format=raw,if=none \
+ -drive id=disk,file=$(IMG),format=raw,if=none \
-device ide-hd,drive=disk,bus=ide.0 -drive \
- file=fat:rw:Source/Root,index=2,format=raw -d int -hdd Source/$(IMG_2)
+ file=fat:rw:Source/Root,index=2,format=raw -d int -hdd $(IMG_2)
LD_FLAGS=-e Main --subsystem=10
@@ -59,7 +59,7 @@ invalid-recipe:
.PHONY: all
all: compile-amd64
- mkdir -p Root/EFI/BOOT
+ mkdir -p Source/Root/EFI/BOOT
$(LD_GNU) $(OBJ) $(LD_FLAGS) -o Source/$(BOOT_LOADER)
$(COPY) Source/$(BOOT_LOADER) Source/Root/EFI/BOOT/BOOTX64.EFI
$(COPY) Source/$(BOOT_LOADER) Source/Root/EFI/BOOT/NEWBOOT.EFI