mirror of
https://github.com/LearningOS/rust-based-os-comp2022.git
synced 2026-05-05 14:04:11 +08:00
fix: update rust-toolchain file
fix: remove link_app.S Signed-off-by: YdrMaster <ydrml@hotmail.com>
This commit is contained in:
@@ -25,9 +25,7 @@ build: env $(KERNEL_BIN)
|
||||
|
||||
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 $@
|
||||
@@ -55,4 +53,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
|
||||
|
||||
Reference in New Issue
Block a user