diff options
author | dzwdz | 2021-08-09 20:18:20 +0200 |
---|---|---|
committer | dzwdz | 2021-08-09 20:18:20 +0200 |
commit | b0c9ffa82ea26fa68f9a5ece89198ccfcf392980 (patch) | |
tree | 1236cd96eb1d82fee48ef21b078ec0943aaed610 | |
parent | d8a32a1005c33f6b95bbb3699a8f41ff5e19800e (diff) |
silence the QEMU debug output
i'm using bochs for debugging now anyways, and this will be useful
for serial output
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -6,7 +6,7 @@ CFLAGS = -std=gnu99 -ffreestanding -O2 -Wall -Wextra CFLAGS += -mgeneral-regs-only CFLAGS += -Isrc/ LFLAGS = -ffreestanding -O2 -nostdlib -lgcc -QFLAGS = -no-reboot -d guest_errors,int,pcall,cpu_reset +QFLAGS = -no-reboot define from_sources $(patsubst src/%.s,out/obj/%.s.o,$(shell find $(1) -type f -name '*.s')) \ @@ -42,10 +42,10 @@ out/obj/%.c.o: src/%.c .PHONY: boot debug lint clean boot: out/boot.iso - qemu-system-i386 $< $(QFLAGS) -no-shutdown + qemu-system-i386 -cdrom $< $(QFLAGS) -no-shutdown debug: out/boot.iso - qemu-system-i386 $< $(QFLAGS) -s -S & + qemu-system-i386 -cdrom $< $(QFLAGS) -s -S & @sleep 1 gdb |