zephyr/soc/riscv/riscv-privilege/telink_b91/CMakeLists.txt

16 lines
302 B
CMake

# Copyright (c) 2021 Telink Semiconductor
# SPDX-License-Identifier: Apache-2.0
zephyr_sources(
start.S
soc_irq.S
soc.c
)
# Force using BFD-LD
zephyr_ld_options(-fuse-ld=bfd)
# Set compile options
zephyr_compile_options_ifdef(CONFIG_TELINK_B91_HWDSP -mext-dsp)
zephyr_compile_options(-mno-relax)