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