把内核构建脚本单独独立成一个crate (#444)

This commit is contained in:
LoGin
2023-11-17 11:26:26 +08:00
committed by GitHub
parent a0c98cd4df
commit e26ca418df
15 changed files with 374 additions and 180 deletions

View File

@ -0,0 +1,11 @@
[package]
name = "kernel_build"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
bindgen = "0.61.0"
lazy_static = "1.4.0"
cc = { version = "1.0.83", features = ["parallel"] }