Skip to content

Commit

Permalink
[hw,mbx] Update bazel rules for generating C/Rust headers
Browse files Browse the repository at this point in the history
Signed-off-by: Robert Schilling <[email protected]>
  • Loading branch information
Razer6 committed Sep 24, 2024
1 parent 4288645 commit 90bb902
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions hw/ip/mbx/data/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,21 @@

package(default_visibility = ["//visibility:public"])

load("//rules:autogen.bzl", "autogen_hjson_header")
load(
"//rules:autogen.bzl",
"autogen_hjson_c_header",
"autogen_hjson_rust_header",
)

autogen_hjson_c_header(
name = "mbx_c_regs",
srcs = [
"mbx.hjson",
],
)

autogen_hjson_header(
name = "mbx_regs",
autogen_hjson_rust_header(
name = "mbx_rust_regs",
srcs = [
"mbx.hjson",
],
Expand Down

0 comments on commit 90bb902

Please sign in to comment.