Skip to content

Commit

Permalink
Merge pull request #330 from 00xc/build-rs
Browse files Browse the repository at this point in the history
kernel/build.rs: run build if linker scripts changed
  • Loading branch information
joergroedel authored Apr 26, 2024
2 parents 3e2a303 + 05a8cba commit a58ba53
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions kernel/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,7 @@ fn main() {
println!("cargo:rustc-link-arg=-Tkernel/src/svsm.lds");
println!("cargo:rustc-link-arg=-no-pie");
}

println!("cargo:rerun-if-changed=kernel/src/stage2.lds");
println!("cargo:rerun-if-changed=kernel/src/svsm.lds");
}

0 comments on commit a58ba53

Please sign in to comment.