diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock index 0fd6323c63613e..e651adb88a33e7 100644 --- a/MODULE.bazel.lock +++ b/MODULE.bazel.lock @@ -549,7 +549,7 @@ }, "//third_party/open-dice:extensions.bzl%open_dice": { "general": { - "bzlTransitiveDigest": "CFBwD8rTE8Hk/R2huNOcNoh+1tuu3eRvYQ6N/QK5aHk=", + "bzlTransitiveDigest": "aWKdq1LJjyKY+Q2GJVzvgetfzDu1KODKYV2E2QYHwwU=", "usagesDigest": "JS7GxioQYipTmuvH3Q9liClSKpuPbE8hW9EyTeNJMo8=", "recordedFileInputs": {}, "recordedDirentsInputs": {}, @@ -566,7 +566,7 @@ ], "sha256": "d7ce830111451afe2a255cac3b750f82e50efe2aaf6bac0b076881c964cfe78d", "patches": [ - "@@//third_party/open-dice:Add-a-local-strlen-implementation.patch" + "@@//third_party/open-dice/patches:Add-a-local-strlen-implementation.patch" ], "patch_args": [ "-p1" diff --git a/third_party/open-dice/extensions.bzl b/third_party/open-dice/extensions.bzl index 8dc76b1fa43ab2..87de10e88100ac 100644 --- a/third_party/open-dice/extensions.bzl +++ b/third_party/open-dice/extensions.bzl @@ -16,7 +16,7 @@ def _open_dice_repos(): urls = ["https://github.com/google/open-dice/archive/cf3f4cc7a3506a33ee3a437544ef6f40056b3563.zip"], sha256 = "d7ce830111451afe2a255cac3b750f82e50efe2aaf6bac0b076881c964cfe78d", patches = [ - Label("//third_party/open-dice:Add-a-local-strlen-implementation.patch"), + Label("//third_party/open-dice/patches:Add-a-local-strlen-implementation.patch"), ], patch_args = ["-p1"], ) diff --git a/third_party/open-dice/Add-a-local-strlen-implementation.patch b/third_party/open-dice/patches/Add-a-local-strlen-implementation.patch similarity index 100% rename from third_party/open-dice/Add-a-local-strlen-implementation.patch rename to third_party/open-dice/patches/Add-a-local-strlen-implementation.patch diff --git a/third_party/open-dice/patches/BUILD b/third_party/open-dice/patches/BUILD new file mode 100644 index 00000000000000..3e8bb41965a28f --- /dev/null +++ b/third_party/open-dice/patches/BUILD @@ -0,0 +1,3 @@ +# Copyright lowRISC contributors (OpenTitan project). +# Licensed under the Apache License, Version 2.0, see LICENSE for details. +# SPDX-License-Identifier: Apache-2.0