blob: 8fdae3dac5e0de5bdae24e501f4ed4a920ffc48e [file] [log] [blame]
# Copyright lowRISC contributors.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0
load("//rules:opentitan.bzl", "OPENTITAN_CPU")
package(default_visibility = ["//visibility:public"])
cc_library(
name = "test_rom_ext",
srcs = [
"test_rom_ext_start.S",
],
copts = [
"-nostdlib",
"-ffreestanding",
],
linkopts = [
"-T $(location test_rom_ext.ld)",
],
target_compatible_with = [OPENTITAN_CPU],
deps = [
"test_rom_ext.ld",
"//hw/top_earlgrey/sw/autogen:linker_script",
"//sw/device:info_sections",
"//sw/device/lib/crt",
"//sw/device/lib/testing/test_framework:ottf_isrs",
],
)