forked from M-Labs/artiq
firmware: misoc_registers -> misoc_cfg
This commit is contained in:
parent
11994d1900
commit
7b2eba9fbd
@ -42,7 +42,7 @@ pub fn git_describe() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn misoc_registers() {
|
pub fn misoc_cfg() {
|
||||||
let out_dir = env::var("BUILDINC_DIRECTORY").unwrap();
|
let out_dir = env::var("BUILDINC_DIRECTORY").unwrap();
|
||||||
let cfg_path = Path::new(&out_dir).join("generated").join("rust-cfg");
|
let cfg_path = Path::new(&out_dir).join("generated").join("rust-cfg");
|
||||||
println!("cargo:rerun-if-changed={}", cfg_path.to_str().unwrap());
|
println!("cargo:rerun-if-changed={}", cfg_path.to_str().unwrap());
|
||||||
|
@ -2,5 +2,5 @@ extern crate build_artiq;
|
|||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
build_artiq::git_describe();
|
build_artiq::git_describe();
|
||||||
build_artiq::misoc_registers();
|
build_artiq::misoc_cfg();
|
||||||
}
|
}
|
||||||
|
@ -2,5 +2,5 @@ extern crate build_artiq;
|
|||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
build_artiq::git_describe();
|
build_artiq::git_describe();
|
||||||
build_artiq::misoc_registers();
|
build_artiq::misoc_cfg();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user