2019-04-06 21:08:09 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2019-06-04 14:57:27 +08:00
|
|
|
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)
|
2019-08-06 05:45:22 +08:00
|
|
|
if(CONFIG_CPU_ARCHS)
|
|
|
|
zephyr_compile_options_ifdef(CONFIG_FLOAT -mfpu=fpud_all)
|
|
|
|
else()
|
2019-06-18 02:33:09 +08:00
|
|
|
zephyr_compile_options_ifdef(CONFIG_FLOAT -mfpu=fpuda_all)
|
2019-08-06 05:45:22 +08:00
|
|
|
endif()
|
2018-07-07 23:13:15 +08:00
|
|
|
|
|
|
|
zephyr_sources(
|
|
|
|
soc.c
|
|
|
|
soc_config.c
|
|
|
|
)
|