# SPDX-License-Identifier: Apache-2.0

zephyr_include_directories(.)

# Let's rely on `-march` being generated by the CMake script based on which `CONFIG_RISCV_ISA_EXT_*`
# options are y-selected; provide full arch string with the custom extension otherwise.
if(NOT CONFIG_RISCV_GENERIC_TOOLCHAIN)
  zephyr_compile_options(-march=rv32imcxpulpv2)
endif()
