Skip to content

Commit 2f2acc0

Browse files
committed
[bazel] Allow manufactoring code to be used by downstream repos.
Use the module name '@lowrisc_opentitan' instead of '@' when referencing targets in the same workspace. This is the approach recommended by https://bazel.build/external/migration#specify-repo-name and allows manufactoring code (e.g. perso_tlv_data) to be used in downstream repos that use the opentitan repo as a submodule. Change-Id: I30401894b71a230e3144f9ec564d42a170e3218e
1 parent 406c3a8 commit 2f2acc0

File tree

2 files changed

+3
-3
lines changed
  • sw/device/silicon_creator

2 files changed

+3
-3
lines changed

sw/device/silicon_creator/manuf/base/BUILD

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
33
# SPDX-License-Identifier: Apache-2.0
44

5-
load("@//rules:manuf.bzl", "device_id_header")
6-
load("@//rules:signing.bzl", "offline_presigning_artifacts", "offline_signature_attach")
5+
load("@lowrisc_opentitan//rules:manuf.bzl", "device_id_header")
6+
load("@lowrisc_opentitan//rules:signing.bzl", "offline_presigning_artifacts", "offline_signature_attach")
77
load("@rules_pkg//pkg:tar.bzl", "pkg_tar")
88
load("//rules:const.bzl", "CONST", "hex")
99
load("//rules:manifest.bzl", "manifest")

sw/device/silicon_creator/rom/e2e/ate/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
33
# SPDX-License-Identifier: Apache-2.0
44

5-
load("@//rules:signing.bzl", "offline_presigning_artifacts", "offline_signature_attach")
5+
load("@lowrisc_opentitan//rules:signing.bzl", "offline_presigning_artifacts", "offline_signature_attach")
66
load("@rules_pkg//pkg:tar.bzl", "pkg_tar")
77
load(
88
"//rules/opentitan:defs.bzl",

0 commit comments

Comments
 (0)