hot fix: remove outdated objcpy
authorMinep <lunaixsky@qq.com>
Sun, 2 Jun 2024 18:00:59 +0000 (19:00 +0100)
committerMinep <lunaixsky@qq.com>
Sun, 2 Jun 2024 18:00:59 +0000 (19:00 +0100)
lunaix-os/makefile

index c332bf7d361e594f0671ae1dba68647df03d83bd..6e9fdb0b21704a5b9c37c0d770e3d19941ab6256 100644 (file)
@@ -90,7 +90,7 @@ run: $(BUILD_DIR)/$(OS_ISO)
        @telnet 127.0.0.1 $(QEMU_MON_PORT)
 
 debug-qemu: all-debug
        @telnet 127.0.0.1 $(QEMU_MON_PORT)
 
 debug-qemu: all-debug
-       @i686-elf-objcopy --only-keep-debug $(kbin) $(kbuild_dir)/kernel.dbg
+       @objcopy --only-keep-debug $(kbin) $(kbuild_dir)/kernel.dbg
        @qemu-system-i386 $(call get_qemu_options,$(kimg))
        @sleep 1
        @QMPORT=$(QEMU_MON_PORT) gdb $(kbin) -ex "target remote localhost:1234"
        @qemu-system-i386 $(call get_qemu_options,$(kimg))
        @sleep 1
        @QMPORT=$(QEMU_MON_PORT) gdb $(kbin) -ex "target remote localhost:1234"