fix: update rust-toolchain file

fix: remove link_app.S
Signed-off-by: YdrMaster <ydrml@hotmail.com>
This commit is contained in:
YdrMaster
2022-10-20 11:02:23 +08:00
parent 5e7f0d1d43
commit 1b44ff002c
28 changed files with 27 additions and 481 deletions

View File

@@ -29,9 +29,7 @@ $(KERNEL_BIN): kernel
env:
(rustup target list | grep "riscv64gc-unknown-none-elf (installed)") || rustup target add $(TARGET)
cargo install cargo-binutils --vers ~0.3
rustup component add rust-src
rustup component add llvm-tools-preview
cargo install cargo-binutils
$(KERNEL_BIN): kernel
@$(OBJCOPY) $(KERNEL_ELF) --strip-all -O binary $@
@@ -59,4 +57,4 @@ debug: build
dbg: build
qemu-system-riscv64 -machine virt -nographic -bios $(BOOTLOADER) -device loader,file=$(KERNEL_BIN),addr=$(KERNEL_ENTRY_PA) -s -S
.PHONY: build env kernel clean run-inner
.PHONY: build env kernel clean run-inner