summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile5
-rw-r--r--config/OVMF.fdbin0 -> 4194304 bytes
2 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)
diff --git a/config/OVMF.fd b/config/OVMF.fd
new file mode 100644
index 0000000..93d5bf5
--- /dev/null
+++ b/config/OVMF.fd
Binary files differ