zephyr/soc/litex/litex_vexriscv/CMakeLists.txt
Fin Maaß 1d88d7d139 soc: riscv: litex: add reboot
this makes it possible to reboot a
litex SoC.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2024-06-06 15:46:40 +01:00

16 lines
409 B
CMake

#
# Copyright (c) 2018 - 2019 Antmicro <www.antmicro.com>
#
# SPDX-License-Identifier: Apache-2.0
#
zephyr_sources(
${ZEPHYR_BASE}/soc/common/riscv-privileged/soc_irq.S
${ZEPHYR_BASE}/soc/common/riscv-privileged/vector.S
)
zephyr_sources_ifdef(CONFIG_REBOOT reboot.c)
zephyr_include_directories(.)
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/riscv/common/linker.ld CACHE INTERNAL "")