mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
Makefile: debug flags for qemu
This commit is contained in:
@@ -2,7 +2,7 @@ ISODIR=$(shell pwd)/iso
|
||||
ISO=astral.iso
|
||||
LIMINEDIR=$(shell pwd)/host-pkgs/limine/usr/local/share/limine/
|
||||
KERNEL=$(shell pwd)/pkgs/astral/boot/astral
|
||||
QEMUFLAGS=-cdrom $(ISO) -m 2G -smp cpus=2 -monitor stdio -debugcon file:/dev/stdout -serial file:/dev/stdout # hacky but works :')
|
||||
QEMUFLAGS=-cdrom $(ISO) -m 2G -smp cpus=2 -no-shutdown -no-reboot -monitor stdio -debugcon file:/dev/stdout -serial file:/dev/stdout # hacky but works :')
|
||||
|
||||
.PHONY: all kernel clean clean-kernel iso
|
||||
|
||||
@@ -35,7 +35,7 @@ clean:
|
||||
rm jinx
|
||||
|
||||
run:
|
||||
qemu-system-x86_64 $(QEMUFLAGS)
|
||||
qemu-system-x86_64 $(QEMUFLAGS) -d int
|
||||
|
||||
run-kvm:
|
||||
qemu-system-x86_64 $(QEMUFLAGS) -enable-kvm -cpu host
|
||||
|
||||
Reference in New Issue
Block a user