Skip to content

Commit 28a5f73

Browse files
committed
[hw,mbx] Update bazel rules for generating C/Rust headers
Signed-off-by: Robert Schilling <[email protected]>
1 parent 4dc17b9 commit 28a5f73

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

hw/ip/mbx/data/BUILD

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,21 @@
44

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

7-
load("//rules:autogen.bzl", "autogen_hjson_header")
7+
load(
8+
"//rules:autogen.bzl",
9+
"autogen_hjson_c_header",
10+
"autogen_hjson_rust_header",
11+
)
12+
13+
autogen_hjson_c_header(
14+
name = "mbx_c_regs",
15+
srcs = [
16+
"mbx.hjson",
17+
],
18+
)
819

9-
autogen_hjson_header(
10-
name = "mbx_regs",
20+
autogen_hjson_rust_header(
21+
name = "mbx_rust_regs",
1122
srcs = [
1223
"mbx.hjson",
1324
],

0 commit comments

Comments
 (0)