diff options
author | Danny Holman <dholman@gymli.org> | 2022-01-15 16:12:32 -0600 |
---|---|---|
committer | Danny Holman <dholman@gymli.org> | 2022-01-15 16:12:32 -0600 |
commit | 5db084e3b478be1c9aa9caeeea94b949264aa853 (patch) | |
tree | 62f2671f4bfdc3d599587419376645f11aa84ac6 | |
parent | c83d7bdcb60859f232e0fa6994ffba01509aba2e (diff) |
Makefile: add dry run and debug targets
Add targets to perform a test run and debug run inside a VM.
Signed-off-by: Danny Holman <dholman@gymli.org>
-rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -76,4 +76,10 @@ install-kernel: $(KERNEL) mkdir -p $(DESTDIR)$(BOOTDIR) cp $(KERNEL) $(DESTDIR)$(BOOTDIR) +run: $(KERNEL) + qemu-system-i386 -kernel $(KERNEL) + +debug: $(KERNEL) + qemu-system-i386 -kernel $(KERNEL) -s -S + -include $(OBJS:.o=.d) |