From 8ffea901f974e8b74b606bb57f3f65b99e1e5ac8 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Tue, 22 Apr 2025 15:16:01 -0400 Subject: test --- Makefile | 5 +++++ config/OVMF.fd | Bin 0 -> 4194304 bytes 2 files changed, 5 insertions(+) create mode 100644 config/OVMF.fd 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 Binary files /dev/null and b/config/OVMF.fd differ -- cgit v1.2.3-freya