Update os/Makefile && Update rust to 2021-01-30
This commit is contained in:
parent
05fd1c8f85
commit
ca9bc70781
2 changed files with 9 additions and 9 deletions
|
@ -25,10 +25,10 @@ DISASM ?= -x
|
||||||
build: env $(KERNEL_BIN)
|
build: env $(KERNEL_BIN)
|
||||||
|
|
||||||
env:
|
env:
|
||||||
(rustup component list | grep "rust-src") || rustup component add rust-src
|
(rustup target list | grep "riscv64gc-unknown-none-elf (installed)") || rustup target add $(TARGET)
|
||||||
(rustup component list | grep "llvm-tools-preview") || rustup component add llvm-tools-preview
|
cargo install cargo-binutils
|
||||||
(which rust-objdump) || cargo install cargo-binutils
|
rustup component add rust-src
|
||||||
(rustup target list | grep "riscv64gc-unknown-none-elf") || rustup target add riscv64gc-unknown-none-elf
|
rustup component add llvm-tools-preview
|
||||||
|
|
||||||
$(KERNEL_BIN): kernel
|
$(KERNEL_BIN): kernel
|
||||||
@$(OBJCOPY) $(KERNEL_ELF) --strip-all -O binary $@
|
@$(OBJCOPY) $(KERNEL_ELF) --strip-all -O binary $@
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
nightly
|
nightly-2021-01-30
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue