diff --git a/bin/chainboot/build.rs b/bin/chainboot/build.rs index 33a3d71..4a496d4 100644 --- a/bin/chainboot/build.rs +++ b/bin/chainboot/build.rs @@ -1,6 +1,10 @@ +/// This build script is used to link chainboot binary. + const LINKER_SCRIPT: &str = "bin/chainboot/src/link.ld"; +const LINKER_SCRIPT_AUX: &str = "machine/src/arch/aarch64/linker/aarch64-exceptions.ld"; fn main() { println!("cargo:rerun-if-changed={}", LINKER_SCRIPT); + println!("cargo:rerun-if-changed={}", LINKER_SCRIPT_AUX); println!("cargo:rustc-link-arg=--script={}", LINKER_SCRIPT); }