Makefile: generate dev/ in initramfs

Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
Michael Shaw 2026-07-22 23:47:13 -04:00
commit a5c57b7893

View file

@ -35,7 +35,7 @@ limine/limine:
$(INITRAMFS): initramfs/
$(Q)echo " CPIO $@"
$(Q)mkdir -p initramfs/
$(Q)mkdir -p initramfs/dev
$(Q)cd initramfs/ && find . | cpio -oH newc > ../$(INITRAMFS)
.PHONY += run
@ -46,7 +46,6 @@ run: edk2-ovmf $(IMG)
-drive if=pflash,unit=0,format=raw,file=edk2-ovmf/ovmf-code-$(ARCH).fd,readonly=on \
-accel kvm \
-hda $(IMG) \
-hdb test_drive.hdd \
-nographic \
-serial mon:stdio \
$(QEMUFLAGS)
@ -58,7 +57,6 @@ debug: edk2-ovmf $(IMG)
-M q35 \
-drive if=pflash,unit=0,format=raw,file=edk2-ovmf/ovmf-code-$(ARCH).fd,readonly=on \
-hda $(IMG) \
-hdb test_drive.hdd \
-nographic \
-serial mon:stdio \
$(QEMUFLAGS)