summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index bb015aa..f69f490 100644
--- a/Makefile
+++ b/Makefile
@@ -52,6 +52,11 @@ QEMU = qemu-system-x86_64-uefi
GRUB = grub-mkrescue-uefi
endif
+ifeq ($(UNAME),Darwin)
+QEMU = qemu-system-x86_64 -smbios type=0,uefi=on -bios config/OVMF.fd
+GRUB = x86_64-elf-grub-mkrescue
+endif
+
qemu: $(BIN)/$(ISO) $(BIN)/$(IMAGE)
$(QEMU) $(QEMUOPTS)