zephyr/soc/arc/snps_nsim/CMakeLists.txt

15 lines
421 B
CMake

# SPDX-License-Identifier: Apache-2.0
zephyr_compile_options(-mcpu=${GCC_M_CPU} -mno-sdata)
zephyr_compile_options_ifdef(CONFIG_CPU_ARCEM -mmpy-option=wlh1)
zephyr_compile_options_ifdef(CONFIG_CPU_ARCHS -mmpy-option=plus_qmacw)
if(CONFIG_CPU_ARCHS)
zephyr_compile_options_ifdef(CONFIG_FPU -mfpu=fpud_all)
else()
zephyr_compile_options_ifdef(CONFIG_FPU -mfpu=fpuda_all)
endif()
zephyr_sources(
soc.c
soc_config.c
)