From cd839d484a3f8c374f613a9065d59c89d4d94d25 Mon Sep 17 00:00:00 2001 From: zhangxinyu <840317537@qq.com> Date: Mon, 29 May 2023 16:15:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9Makefile,=20=E7=8E=B0?= =?UTF-8?q?=E5=9C=A8=E6=AF=8F=E6=AC=A1debug=E5=8F=AF=E4=BB=A5=E6=AD=A3?= =?UTF-8?q?=E7=A1=AE=E7=9A=84=E5=85=B3=E9=97=AD=E4=B8=8A=E6=AC=A1=E7=9A=84?= =?UTF-8?q?qemu=E8=BF=9B=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ch3/os/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ch3/os/Makefile b/ch3/os/Makefile index 0c03143..04340cd 100644 --- a/ch3/os/Makefile +++ b/ch3/os/Makefile @@ -5,7 +5,6 @@ KERNEL_ELF := target/$(TARGET)/$(MODE)/os KERNEL_BIN := $(KERNEL_ELF).bin SYMBOL_MAP := target/system.map QEMU_CMD_PATH := ../../tools/qemu-system-riscv64 -QEMU_PID = $(shell ps aux | grep "[q]emu-system' | awk '{print $$2}") OBJDUMP := rust-objdump --arch-name=riscv64 OBJCOPY := rust-objcopy --binary-architecture=riscv64 @@ -47,5 +46,5 @@ clean: rm -rf ./target* && rm -rf ./src/link_app.S kill: - -kill -9 $(QEMU_PID) + pkill -9 qemu