Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

16 lines
439 B

# SPDX-License-Identifier: Apache-2.0
if(NOT CONFIG_FPU)
list(APPEND TOOLCHAIN_C_FLAGS -msoft-float)
list(APPEND TOOLCHAIN_LD_FLAGS -msoft-float)
endif()
if(CONFIG_SPARC_CASA)
# SPARC V8, mul/div, casa
list(APPEND TOOLCHAIN_C_FLAGS -mcpu=leon3)
list(APPEND TOOLCHAIN_LD_FLAGS -mcpu=leon3)
else()
# SPARC V8, mul/div, no casa
list(APPEND TOOLCHAIN_C_FLAGS -mcpu=leon)
list(APPEND TOOLCHAIN_LD_FLAGS -mcpu=leon)
endif()