Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
educg-net-17064-1466468
OSKernel2023-Runable-1153
Commits
8a07bc8b
Commit
8a07bc8b
authored
2 years ago
by
yixiak
Browse files
Options
Download
Patches
Plain Diff
调整
parent
6b0d0ea5
master
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
os/Makefile
+2
-6
os/Makefile
with
2 additions
and
6 deletions
+2
-6
os/Makefile
+
2
−
6
View file @
8a07bc8b
...
@@ -35,15 +35,11 @@ DISASM ?= -x
...
@@ -35,15 +35,11 @@ DISASM ?= -x
# Run usertests or usershell
# Run usertests or usershell
TEST
?=
TEST
?=
build
:
$(KERNEL_BIN)
oscmp
build
:
$(KERNEL_BIN)
env
oscmp
:
rustup
target
add
riscv64imac-unknown-none-elf
rustup
default
nightly-2023-03-29
rustup
component
add
llvm-tools-preview
rustup
target
add
riscv64imac-unknown-none-elf
cargo
install
cargo-binutils
rustup
target
add
riscv64imac-unknown-none-elf
--toolchain
nightly-2023-03-29
rustup
component
add
llvm-tools-preview
--toolchain
nightly-2023-03-29
env
:
env
:
(
rustup target list |
grep
"riscv64imac-unknown-none-elf (installed)"
)
||
rustup target add
$(
TARGET
)
(
rustup target list |
grep
"riscv64imac-unknown-none-elf (installed)"
)
||
rustup target add
$(
TARGET
)
cargo
install
cargo-binutils
rustup component add rust-src
rustup component add rust-src
rustup component add llvm-tools-preview
rustup component add llvm-tools-preview
...
@@ -110,4 +106,4 @@ fat-img:
...
@@ -110,4 +106,4 @@ fat-img:
gdb
:
gdb
:
@
riscv64-unknown-elf-gdb
-x
.gdbinit
@
riscv64-unknown-elf-gdb
-x
.gdbinit
.PHONY
:
build env kernel clean disasm disasm-vim run-inner fs-img gdbserver gdbclient fat-img
.PHONY
:
build env kernel clean disasm disasm-vim run-inner fs-img gdbserver gdbclient fat-img
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets