summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-04-22 15:16:01 -0400
committerFreya Murphy <freya@freyacat.org>2025-04-22 15:16:01 -0400
commit8ffea901f974e8b74b606bb57f3f65b99e1e5ac8 (patch)
tree080ce96b88b92a36142834853f0e5fb94c79c330
parentforce rebuild on header change (diff)
downloadcomus-uefi.tar.gz
comus-uefi.tar.bz2
comus-uefi.zip
testuefi
-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