diff options
author | 2020-01-07 15:16:49 +0800 | |
---|---|---|
committer | 2020-03-31 17:23:22 +0800 | |
commit | 4766b6b17f88269508d55fc6d0aa71cdb418541d (patch) | |
tree | 2e48e3a135ca0920183597b65a0dadd68c4e7ef8 | |
parent | f42b7073cbd9abfe45b58ae836dacd809ff231f6 (diff) | |
download | meta-zephyr-4766b6b17f88269508d55fc6d0aa71cdb418541d.tar.gz meta-zephyr-4766b6b17f88269508d55fc6d0aa71cdb418541d.tar.bz2 meta-zephyr-4766b6b17f88269508d55fc6d0aa71cdb418541d.zip |
tune-cortexm3.inc: set '-mfloat-abi=soft' floating-point ABI
Due to default -mfloat-abi=softfp facing below error log:
"Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
Ref: https://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
-rw-r--r-- | conf/machine/include/tune-cortexm3.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/conf/machine/include/tune-cortexm3.inc b/conf/machine/include/tune-cortexm3.inc index 25d7590..3fba827 100644 --- a/conf/machine/include/tune-cortexm3.inc +++ b/conf/machine/include/tune-cortexm3.inc @@ -18,3 +18,4 @@ PACKAGE_EXTRA_ARCHS_tune-cortexm3 ="cortexm3" TUNE_FEATURES_tune-cortexm3 = "armv7m vfp cortexm3" PACKAGE_EXTRA_ARCHS_tune-cortexm3 = "${PACKAGE_EXTRA_ARCHS_tune-armv7at} armv7m-vfp" +TUNE_CCARGS_MFLOAT = "soft" |