From f52057a6af724d6b701f6b67dcd11bdbdb2c2b03 Mon Sep 17 00:00:00 2001 From: Lunaixsky Date: Sat, 19 Feb 2022 16:42:54 +0000 Subject: [PATCH] Update makefile --- lunaix-os/makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lunaix-os/makefile b/lunaix-os/makefile index 4993318..c25ee5c 100644 --- a/lunaix-os/makefile +++ b/lunaix-os/makefile @@ -37,7 +37,7 @@ $(BUILD_DIR)/$(OS_ISO): $(ISO_DIR) $(BIN_DIR)/$(OS_BIN) GRUB_TEMPLATE all: clean $(BUILD_DIR)/$(OS_ISO) all-debug: O := -O0 -all-debug: CFLAGS := -g -std=gnu99 -ffreestanding $(O) $(W) -fomit-frame-pointer +all-debug: CFLAGS := -g -std=gnu99 -ffreestanding $(O) $(W) all-debug: LDFLAGS := -ffreestanding $(O) -nostdlib -lgcc all-debug: clean $(BUILD_DIR)/$(OS_ISO) @echo "Dumping the disassembled kernel code to $(BUILD_DIR)/kdump.txt" @@ -47,7 +47,7 @@ clean: @rm -rf $(BUILD_DIR) run: $(BUILD_DIR)/$(OS_ISO) - @qemu-system-i386 -cdrom $(BUILD_DIR)/$(OS_ISO) -monitor telnet::45454,server,nowait & + @qemu-system-i386 -cdrom $(BUILD_DIR)/$(OS_ISO) -monitor telnet::$(QEMU_MON_PORT),server,nowait & @sleep 1 @telnet 127.0.0.1 $(QEMU_MON_PORT) @@ -59,4 +59,4 @@ debug-qemu: all-debug @gdb -s $(BUILD_DIR)/kernel.dbg -ex "target remote localhost:1234" debug-bochs: all-debug - @bochs -q -f bochs.cfg \ No newline at end of file + @bochs -q -f bochs.cfg -- 2.27.0