arch: arm: Disallow FP_HARDABI when building with TFM
When building with TFM, the app is linked with libraries built by the TFM build system. TFM is always built with -msoft-float which is equivalent to -mfloat-abi=soft. FP_HARDABI adds -mfloat-abi=hard which gives errors when linking with the libs from TFM since they are built with a different ABI. Fixes https://github.com/zephyrproject-rtos/zephyr/issues/33956 Signed-off-by: Øyvind Rønningstad <oyvind.ronningstad@nordicsemi.no>
This commit is contained in:
parent
ffd3d42569
commit
80a351e22d
1 changed files with 1 additions and 0 deletions
|
@ -221,6 +221,7 @@ choice
|
|||
|
||||
config FP_HARDABI
|
||||
bool "Floating point Hard ABI"
|
||||
depends on !BUILD_WITH_TFM
|
||||
help
|
||||
This option selects the Floating point ABI in which hardware floating
|
||||
point instructions are generated and uses FPU-specific calling
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue