diff --git a/Makefile b/Makefile index 1363245..14ca555 100644 --- a/Makefile +++ b/Makefile @@ -168,6 +168,8 @@ QEMUOPTS += -device virtio-blk-device,drive=x0,bus=virtio-mmio-bus.0 qemu: $K/kernel fs.img $(QEMU) $(QEMUOPTS) +kernel: $K/kernel + .gdbinit: .gdbinit.tmpl-riscv sed "s/:1234/:$(GDBPORT)/" < $^ > $@