Run with display

This commit is contained in:
Alex Kotov 2021-12-15 20:26:25 +05:00
parent f8541b0467
commit f476a455cf
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
1 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,5 @@
all: run
GRUBCFG = rootfs/boot/grub/grub.cfg
KERNEL = rootfs/boot/tailix.multiboot2
@ -5,11 +7,16 @@ IMAGE = image.iso
.PHONY: kernel/tailix.multiboot2
run: $(IMAGE)
qemu-system-i386 -cdrom $< -display none -serial stdio
run: run0
run0: $(IMAGE)
qemu-system-i386 -cdrom $< -serial stdio -display none
run1: $(IMAGE)
qemu-system-i386 -cdrom $< -serial stdio
clean:
rm -f $(KERNEL)
rm -f $(IMAGE) $(KERNEL)
make -C kernel clean
$(IMAGE): $(GRUBCFG) $(KERNEL)