firmware: misoc_registers -> misoc_cfg

This commit is contained in:
Sebastien Bourdeauducq 2017-01-27 23:28:00 +08:00
parent 11994d1900
commit 7b2eba9fbd
3 changed files with 3 additions and 3 deletions

View File

@ -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 cfg_path = Path::new(&out_dir).join("generated").join("rust-cfg");
println!("cargo:rerun-if-changed={}", cfg_path.to_str().unwrap());

View File

@ -2,5 +2,5 @@ extern crate build_artiq;
fn main() {
build_artiq::git_describe();
build_artiq::misoc_registers();
build_artiq::misoc_cfg();
}

View File

@ -2,5 +2,5 @@ extern crate build_artiq;
fn main() {
build_artiq::git_describe();
build_artiq::misoc_registers();
build_artiq::misoc_cfg();
}