diff --git a/hw/ip_templates/alert_handler/BUILD.tpl b/hw/ip_templates/alert_handler/BUILD.tpl new file mode 100644 index 0000000000000..dda56de039e27 --- /dev/null +++ b/hw/ip_templates/alert_handler/BUILD.tpl @@ -0,0 +1,10 @@ +# Copyright lowRISC contributors (OpenTitan project). +# Licensed under the Apache License, Version 2.0, see LICENSE for details. +# SPDX-License-Identifier: Apache-2.0 + +package(default_visibility = ["//visibility:public"]) + +filegroup( + name = "all_files", + srcs = glob(["**"]), +) diff --git a/hw/ip_templates/rv_plic/BUILD.tpl b/hw/ip_templates/rv_plic/BUILD.tpl new file mode 100644 index 0000000000000..dda56de039e27 --- /dev/null +++ b/hw/ip_templates/rv_plic/BUILD.tpl @@ -0,0 +1,10 @@ +# Copyright lowRISC contributors (OpenTitan project). +# Licensed under the Apache License, Version 2.0, see LICENSE for details. +# SPDX-License-Identifier: Apache-2.0 + +package(default_visibility = ["//visibility:public"]) + +filegroup( + name = "all_files", + srcs = glob(["**"]), +) diff --git a/hw/top_darjeeling/ip_autogen/alert_handler/BUILD b/hw/top_darjeeling/ip_autogen/alert_handler/BUILD new file mode 100644 index 0000000000000..dda56de039e27 --- /dev/null +++ b/hw/top_darjeeling/ip_autogen/alert_handler/BUILD @@ -0,0 +1,10 @@ +# Copyright lowRISC contributors (OpenTitan project). +# Licensed under the Apache License, Version 2.0, see LICENSE for details. +# SPDX-License-Identifier: Apache-2.0 + +package(default_visibility = ["//visibility:public"]) + +filegroup( + name = "all_files", + srcs = glob(["**"]), +) diff --git a/hw/top_darjeeling/ip_autogen/rv_plic/BUILD b/hw/top_darjeeling/ip_autogen/rv_plic/BUILD new file mode 100644 index 0000000000000..dda56de039e27 --- /dev/null +++ b/hw/top_darjeeling/ip_autogen/rv_plic/BUILD @@ -0,0 +1,10 @@ +# Copyright lowRISC contributors (OpenTitan project). +# Licensed under the Apache License, Version 2.0, see LICENSE for details. +# SPDX-License-Identifier: Apache-2.0 + +package(default_visibility = ["//visibility:public"]) + +filegroup( + name = "all_files", + srcs = glob(["**"]), +) diff --git a/hw/top_earlgrey/BUILD b/hw/top_earlgrey/BUILD index d192a6bad6115..29e608fd38632 100644 --- a/hw/top_earlgrey/BUILD +++ b/hw/top_earlgrey/BUILD @@ -25,28 +25,28 @@ package(default_visibility = ["//visibility:public"]) autogen_hjson_c_header( name = "rv_plic_c_regs", srcs = [ - "ip_autogen/rv_plic/data/rv_plic.hjson", + "//hw/top_earlgrey/ip_autogen/rv_plic:data/rv_plic.hjson", ], ) autogen_hjson_rust_header( name = "rv_plic_rust_regs", srcs = [ - "ip_autogen/rv_plic/data/rv_plic.hjson", + "//hw/top_earlgrey/ip_autogen/rv_plic:data/rv_plic.hjson", ], ) autogen_hjson_c_header( name = "alert_handler_c_regs", srcs = [ - "ip_autogen/alert_handler/data/alert_handler.hjson", + "//hw/top_earlgrey/ip_autogen/alert_handler:data/alert_handler.hjson", ], ) autogen_hjson_rust_header( name = "alert_handler_rust_regs", srcs = [ - "ip_autogen/alert_handler/data/alert_handler.hjson", + "//hw/top_earlgrey/ip_autogen/alert_handler:data/alert_handler.hjson", ], ) diff --git a/hw/top_earlgrey/ip/BUILD b/hw/top_earlgrey/ip/BUILD index 285f34134ee38..52008956b9e48 100644 --- a/hw/top_earlgrey/ip/BUILD +++ b/hw/top_earlgrey/ip/BUILD @@ -12,10 +12,12 @@ filegroup( "//hw/top_earlgrey/ip/xbar:all_files", "//hw/top_earlgrey/ip/xbar_main:all_files", "//hw/top_earlgrey/ip/xbar_peri:all_files", + "//hw/top_earlgrey/ip_autogen/alert_handler:all_files", "//hw/top_earlgrey/ip_autogen/clkmgr:all_files", "//hw/top_earlgrey/ip_autogen/flash_ctrl:all_files", "//hw/top_earlgrey/ip_autogen/pinmux:all_files", "//hw/top_earlgrey/ip_autogen/pwrmgr:all_files", "//hw/top_earlgrey/ip_autogen/rstmgr:all_files", + "//hw/top_earlgrey/ip_autogen/rv_plic:all_files", ], ) diff --git a/hw/top_earlgrey/ip_autogen/alert_handler/BUILD b/hw/top_earlgrey/ip_autogen/alert_handler/BUILD new file mode 100644 index 0000000000000..dda56de039e27 --- /dev/null +++ b/hw/top_earlgrey/ip_autogen/alert_handler/BUILD @@ -0,0 +1,10 @@ +# Copyright lowRISC contributors (OpenTitan project). +# Licensed under the Apache License, Version 2.0, see LICENSE for details. +# SPDX-License-Identifier: Apache-2.0 + +package(default_visibility = ["//visibility:public"]) + +filegroup( + name = "all_files", + srcs = glob(["**"]), +) diff --git a/hw/top_earlgrey/ip_autogen/rv_plic/BUILD b/hw/top_earlgrey/ip_autogen/rv_plic/BUILD new file mode 100644 index 0000000000000..dda56de039e27 --- /dev/null +++ b/hw/top_earlgrey/ip_autogen/rv_plic/BUILD @@ -0,0 +1,10 @@ +# Copyright lowRISC contributors (OpenTitan project). +# Licensed under the Apache License, Version 2.0, see LICENSE for details. +# SPDX-License-Identifier: Apache-2.0 + +package(default_visibility = ["//visibility:public"]) + +filegroup( + name = "all_files", + srcs = glob(["**"]), +)