summaryrefslogtreecommitdiffhomepage
path: root/dev/Boot
diff options
context:
space:
mode:
Diffstat (limited to 'dev/Boot')
-rw-r--r--dev/Boot/amd64-desktop.make8
1 files changed, 8 insertions, 0 deletions
diff --git a/dev/Boot/amd64-desktop.make b/dev/Boot/amd64-desktop.make
index 37244c91..161d5f59 100644
--- a/dev/Boot/amd64-desktop.make
+++ b/dev/Boot/amd64-desktop.make
@@ -28,9 +28,17 @@ BIOS=OVMF.fd
IMG=epm-master-1.img
IMG_2=epm-master-2.img
+ifeq ($(shell uname), Darwin)
+EMU_FLAGS=-net none -smp 4 -m 8G \
+ -bios $(BIOS) -drive \
+ file=fat:rw:src/Root/,index=3,format=raw
+endif
+
+ifneq ($(shell uname), Darwin)
EMU_FLAGS=-net none -smp 4 -m 8G \
-bios $(BIOS) -drive \
file=fat:rw:src/Root/,index=3,format=raw -accel kvm
+endif
LD_FLAGS=-e Main --subsystem=10