Makefile: RUN_TEST for debug_test target only

This commit is contained in:
Mathieu Maret 2021-11-13 08:30:14 +01:00
parent 9d35a686ab
commit 79d57bc476

View File

@ -64,7 +64,7 @@ test: clean kernel disk.img
run:kernel disk.img
qemu-system-x86_64 -kernel $< $(QEMU_OPT)
debug: CFLAGS += $(DEBUG_FLAGS) -DRUN_TEST
debug: CFLAGS += $(DEBUG_FLAGS)
debug: CXXFLAGS += $(DEBUG_FLAGS)
debug:kernel kernel.sym disk.img
gdb -q -x debug.gdb