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
破败王者之剑
OSKernel2022-LOS
Commits
5cf938b5
Commit
5cf938b5
authored
2 years ago
by
破败王者之剑
Browse files
Options
Download
Patches
Plain Diff
Update Makefile
parent
771b96d6
match
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Makefile
+5
-1
Makefile
with
5 additions
and
1 deletion
+5
-1
Makefile
+
5
−
1
View file @
5cf938b5
...
...
@@ -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
)
"
...
...
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