From 7b2eba9fbde5ba126a24c3065ab4096688f205cd Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Fri, 27 Jan 2017 23:28:00 +0800 Subject: [PATCH] firmware: misoc_registers -> misoc_cfg --- artiq/firmware/libbuild_artiq/lib.rs | 2 +- artiq/firmware/runtime/build.rs | 2 +- artiq/firmware/satman/build.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/artiq/firmware/libbuild_artiq/lib.rs b/artiq/firmware/libbuild_artiq/lib.rs index da7133f26..666a91651 100644 --- a/artiq/firmware/libbuild_artiq/lib.rs +++ b/artiq/firmware/libbuild_artiq/lib.rs @@ -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()); diff --git a/artiq/firmware/runtime/build.rs b/artiq/firmware/runtime/build.rs index f6ab9cf8a..d9df648a6 100644 --- a/artiq/firmware/runtime/build.rs +++ b/artiq/firmware/runtime/build.rs @@ -2,5 +2,5 @@ extern crate build_artiq; fn main() { build_artiq::git_describe(); - build_artiq::misoc_registers(); + build_artiq::misoc_cfg(); } diff --git a/artiq/firmware/satman/build.rs b/artiq/firmware/satman/build.rs index f6ab9cf8a..d9df648a6 100644 --- a/artiq/firmware/satman/build.rs +++ b/artiq/firmware/satman/build.rs @@ -2,5 +2,5 @@ extern crate build_artiq; fn main() { build_artiq::git_describe(); - build_artiq::misoc_registers(); + build_artiq::misoc_cfg(); }