mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-19 21:05:21 +00:00
This commit renames the Kconfig `FLOAT` symbol to `FPU`, since this symbol only indicates that the hardware Floating Point Unit (FPU) is used and does not imply and/or indicate the general availability of toolchain-level floating point support (i.e. this symbol is not selected when building for an FPU-less platform that supports floating point operations through the toolchain-provided software floating point library). Moreover, given that the symbol that indicates the availability of FPU is named `CPU_HAS_FPU`, it only makes sense to use "FPU" in the name of the symbol that enables the FPU. Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
14 lines
359 B
CMake
14 lines
359 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
|
|
|
|
# -mcpu=hs38_linux includes -matomic -mcode-density -mdiv-rem
|
|
# -mswap -mnorm -mll64 -mmpy-option=9 -mfpu=fpud_all
|
|
zephyr_cc_option(-mcpu=${GCC_M_CPU})
|
|
zephyr_cc_option(-mno-sdata)
|
|
zephyr_cc_option_ifdef(CONFIG_FPU -mfpu=fpud_all)
|
|
|
|
zephyr_sources(
|
|
soc.c
|
|
)
|