| # Copyright 2022 Google Inc. All Rights Reserved. |
| # Licensed under the Apache License, Version 2.0, see LICENSE for details. |
| # SPDX-License-Identifier: Apache-2.0 |
| |
| load("@lowrisc_opentitan//rules:linker.bzl", "ld_library") |
| |
| package(default_visibility = ["//visibility:public"]) |
| |
| cc_library( |
| name = "top_matcha", |
| srcs = [ |
| "top_matcha.c", |
| ], |
| hdrs = [ |
| "top_matcha.h", |
| "top_matcha_memory.h", |
| ], |
| ) |
| |
| ld_library( |
| name = "top_matcha_memory", |
| includes = ["top_matcha_memory.ld"], |
| ) |
| |
| filegroup( |
| name = "all_files", |
| srcs = glob(["**"]), |
| ) |