Skip to content

Commit

Permalink
WIP [hw,top] Add targets for top-specific DT libraries
Browse files Browse the repository at this point in the history
Signed-off-by: Amaury Pouly <[email protected]>
  • Loading branch information
pamaury committed Nov 13, 2024
1 parent f3e24e3 commit 501b420
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions hw/top/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ load(
"opentitan_ip_c_header",
"opentitan_ip_dt_header",
"opentitan_ip_rust_header",
"opentitan_top_dt_lib",
)

package(default_visibility = ["//visibility:public"])
Expand Down Expand Up @@ -73,6 +74,12 @@ IPS = [
for ip in IPS
]

opentitan_top_dt_lib(
name = "dt_api",
top = ":top",
lib = "api",
)

[
opentitan_ip_dt_header(
name = "dt_{}".format(ip),
Expand All @@ -87,3 +94,9 @@ cc_library(
srcs = [],
deps = ["dt_{}".format(ip) for ip in IPS],
)

opentitan_top_dt_lib(
name = "devicetables",
top = ":top",
lib = "tables",
)

0 comments on commit 501b420

Please sign in to comment.