refactored for architectures and added riscv support
This commit is contained in:
10
kernel/.cargo/config.toml
Normal file
10
kernel/.cargo/config.toml
Normal file
@@ -0,0 +1,10 @@
|
||||
[build]
|
||||
# rustflags = ["-g"]
|
||||
target = ["riscv64gc-unknown-none-elf", "x86_64-unknown-none"]
|
||||
|
||||
[target.riscv64gc-unknown-none-elf]
|
||||
rustflags = [
|
||||
"-C", "link-arg=-Tsrc/arch/riscv64/link.ld",
|
||||
"-C", "link-arg=--omagic",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user