diff --git a/soc/soc_legacy/riscv/litex_vexriscv/CMakeLists.txt b/soc/soc_legacy/riscv/litex_vexriscv/CMakeLists.txt index 98386f6b57a..9cf7e86ab2b 100644 --- a/soc/soc_legacy/riscv/litex_vexriscv/CMakeLists.txt +++ b/soc/soc_legacy/riscv/litex_vexriscv/CMakeLists.txt @@ -5,8 +5,8 @@ # zephyr_sources( - ../common/riscv-privileged/soc_irq.S - ../common/riscv-privileged/vector.S + ${ZEPHYR_BASE}/soc/common/riscv/riscv-privileged/soc_irq.S + ${ZEPHYR_BASE}/soc/common/riscv/riscv-privileged/vector.S ) set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/riscv/common/linker.ld CACHE INTERNAL "")