zephyr/soc/arc/snps_nsim/CMakeLists.txt

15 lines
425 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_FLOAT -mfpu=fpud_all)
else()
zephyr_compile_options_ifdef(CONFIG_FLOAT -mfpu=fpuda_all)
endif()
zephyr_sources(
soc.c
soc_config.c
)