提交 dddd04b6 编写于 作者: Y Yifan Wu

Move kflash.py out of proj.

上级 eb5ef8e9
......@@ -6,3 +6,4 @@ os/Cargo.lock
user/target/*
user/.idea/*
user/Cargo.lock
tools/
......@@ -71,7 +71,10 @@ disasm-vim: kernel
@vim $(DISASM_TMP)
@rm $(DISASM_TMP)
run: run-inner
run: tools run-inner
tools:
(which $(K210-BURNER)) || (cd .. && git clone https://github.com/sipeed/kflash.py.git && mv kflash.py tools)
run-inner: build
ifeq ($(BOARD),qemu)
......@@ -97,4 +100,4 @@ debug: build
tmux split-window -h "riscv64-unknown-elf-gdb -ex 'file $(KERNEL_ELF)' -ex 'set arch riscv:rv64' -ex 'target remote localhost:1234'" && \
tmux -2 attach-session -d
.PHONY: build env kernel clean disasm disasm-vim run-inner
.PHONY: build env kernel clean disasm disasm-vim run-inner tools
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册