mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-31 14:38:21 +00:00
Makefile: debug flags for qemu
This commit is contained in:
@@ -2,7 +2,7 @@ ISODIR=$(shell pwd)/iso
|
|||||||
ISO=astral.iso
|
ISO=astral.iso
|
||||||
LIMINEDIR=$(shell pwd)/host-pkgs/limine/usr/local/share/limine/
|
LIMINEDIR=$(shell pwd)/host-pkgs/limine/usr/local/share/limine/
|
||||||
KERNEL=$(shell pwd)/pkgs/astral/boot/astral
|
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
|
.PHONY: all kernel clean clean-kernel iso
|
||||||
|
|
||||||
@@ -35,7 +35,7 @@ clean:
|
|||||||
rm jinx
|
rm jinx
|
||||||
|
|
||||||
run:
|
run:
|
||||||
qemu-system-x86_64 $(QEMUFLAGS)
|
qemu-system-x86_64 $(QEMUFLAGS) -d int
|
||||||
|
|
||||||
run-kvm:
|
run-kvm:
|
||||||
qemu-system-x86_64 $(QEMUFLAGS) -enable-kvm -cpu host
|
qemu-system-x86_64 $(QEMUFLAGS) -enable-kvm -cpu host
|
||||||
|
|||||||
Reference in New Issue
Block a user