From 0bd94727862138f92d5f45b25e9e5a86c58d574c Mon Sep 17 00:00:00 2001 From: Michael Shaw Date: Tue, 21 Jul 2026 05:58:13 -0400 Subject: [PATCH] Makefile: build initramfs.cpio in proper order Signed-off-by: Michael Shaw --- scripts/Makefile.limine | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/Makefile.limine b/scripts/Makefile.limine index d43db93..ebb0a40 100644 --- a/scripts/Makefile.limine +++ b/scripts/Makefile.limine @@ -2,7 +2,7 @@ # Makefile stuff for all the booting and bootloader related stuff # -$(IMG): limine/limine $(KERNEL) +$(IMG): limine/limine $(KERNEL) $(INITRAMFS) rm -rf $(IMG) dd if=/dev/zero bs=1M count=0 seek=1025 of=$(IMG) @@ -39,7 +39,7 @@ $(INITRAMFS): initramfs/ $(Q)cd initramfs/ && find . | cpio -oH newc > ../$(INITRAMFS) .PHONY += run -run: edk2-ovmf $(INITRAMFS) $(IMG) +run: edk2-ovmf $(IMG) qemu-system-$(ARCH) \ -no-reboot \ -M q35 \