Commit 5cf938b5 authored by 破败王者之剑's avatar 破败王者之剑
Browse files

Update Makefile

parent 771b96d6
No related merge requests found
Showing with 5 additions and 1 deletion
+5 -1
......@@ -29,8 +29,12 @@ endif
K210_SERIALPORT := /dev/ttyUSB0
k210_BURNER := ./tools/kflash.py
env:
(rustup target list | grep "riscv64gc-unknown-none-elf (installed)") || rustup target add $(TARGET)
rustup component add rust-src
rustup component add llvm-tools-preview
all: switch-check fs-img
all: env switch-check fs-img
@echo Platform: $(BOARD)
@cp os/link-$(BOARD).ld os/link.ld
@cd ./os && cargo build --release --features "board_$(BOARD)"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment