34 lines
704 B
TOML
34 lines
704 B
TOML
[package]
|
|
name = "kernel"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[[bin]]
|
|
name = "kernel"
|
|
test = false
|
|
|
|
[dependencies]
|
|
error = { path = "../error" }
|
|
vfs = { path = "../fs/vfs" }
|
|
memfs = { path = "../fs/memfs" }
|
|
libcommon = { path = "../libcommon" }
|
|
syscall = { path = "../syscall" }
|
|
cfg-if = "1.x.x"
|
|
tock-registers = "0.7.x"
|
|
fdt-rs = { version = "0.x.x", default-features = false }
|
|
bitflags = "^1.3.0"
|
|
|
|
[target.'cfg(target_arch = "aarch64")'.dependencies]
|
|
cortex-a = { version = "6.x.x" }
|
|
|
|
[features]
|
|
pl011 = []
|
|
pl031 = []
|
|
verbose = []
|
|
|
|
mach_qemu = ["pl011", "pl031"]
|
|
mach_orangepi3 = []
|
|
mach_rpi3 = ["pl011"]
|