2021-09-22 11:42:00 +03:00
|
|
|
[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
|
|
|
|
|
2021-09-23 13:43:43 +03:00
|
|
|
[[bin]]
|
|
|
|
name = "kernel"
|
|
|
|
test = false
|
|
|
|
|
|
|
|
[dependencies]
|
2021-10-25 16:41:30 +03:00
|
|
|
vfs = { path = "../fs/vfs" }
|
|
|
|
memfs = { path = "../fs/memfs" }
|
2021-11-11 20:45:54 +02:00
|
|
|
libsys = { path = "../libsys" }
|
2021-10-13 10:20:52 +03:00
|
|
|
cfg-if = "1.x.x"
|
2021-09-24 10:31:10 +03:00
|
|
|
tock-registers = "0.7.x"
|
2021-10-08 22:33:10 +03:00
|
|
|
fdt-rs = { version = "0.x.x", default-features = false }
|
2021-10-18 10:57:56 +03:00
|
|
|
bitflags = "^1.3.0"
|
2021-11-11 22:09:55 +02:00
|
|
|
kernel-macros = { path = "macros" }
|
2021-09-23 13:43:43 +03:00
|
|
|
|
2021-09-22 11:42:00 +03:00
|
|
|
[target.'cfg(target_arch = "aarch64")'.dependencies]
|
|
|
|
cortex-a = { version = "6.x.x" }
|
|
|
|
|
|
|
|
[features]
|
2021-11-21 12:36:20 +02:00
|
|
|
default = ["aggressive_syscall"]
|
2021-10-18 15:08:05 +03:00
|
|
|
pl011 = []
|
|
|
|
pl031 = []
|
2021-11-09 18:24:08 +02:00
|
|
|
verbose = []
|
2021-11-21 12:36:20 +02:00
|
|
|
aggressive_syscall = []
|
2021-10-18 15:08:05 +03:00
|
|
|
|
|
|
|
mach_qemu = ["pl011", "pl031"]
|
2021-10-01 18:37:47 +03:00
|
|
|
mach_orangepi3 = []
|
2021-10-27 18:33:52 +03:00
|
|
|
mach_rpi3 = ["pl011"]
|