1
0
mirror of https://github.com/rcore-os/rCore.git synced 2024-11-26 18:03:27 +04:00
rCore/bootloader/build.rs

12 lines
331 B
Rust
Raw Normal View History

2019-03-05 20:46:01 +04:00
fn main() {
println!("cargo:rerun-if-env-changed=PAYLOAD");
println!("cargo:rerun-if-env-changed=DTB");
2019-03-05 20:46:01 +04:00
if let Ok(payload) = std::env::var("PAYLOAD") {
println!("cargo:rerun-if-changed={}", payload);
}
if let Ok(dtb) = std::env::var("DTB") {
println!("cargo:rerun-if-changed={}", dtb);
}
2019-03-05 20:46:01 +04:00
}