Re-apply hard-float toolchain configuration

Re-applies the target architecture and FPU changes from cc50788
(reverted on dev in a3b718c) on top of the soft-float baseline: Cortex-M7
with hardware VFPv5 FPU (-mfloat-abi=hard), plus uClibc-ng built with
UCLIBC_HAS_FPU=y. Hard-float support and the resulting device-side fixes
are being developed here rather than on dev directly.
This commit is contained in:
2026-08-12 11:34:55 +03:00
parent a3b718c4b1
commit f165563387
5 changed files with 24 additions and 15 deletions

View File

@@ -1,10 +1,10 @@
TOP=`pwd`
TARGET=arm-uclinuxfdpiceabi
CFLAGS_TOOLSET='-O2'
CFLAGS_TARGET='-Os -mthumb'
CFLAGS_TOOLSET='-O2'
CFLAGS_TARGET='-Os -mthumb -mcpu=cortex-m7 -mfpu=fpv5-d16 -mfloat-abi=hard'
CFLAGS=$CFLAGS_TOOLSET CFLAGS_FOR_TARGET=$CFLAGS_TARGET CXXFLAGS_FOR_TARGET=$CFLAGS_TARGET
SUBARCH=armv7-m
SUBMODE=thumb
SUBARCH=armv7e-m
SUBMODE=thumb
PATH=${TOP}/${TARGET}/bin:${PATH}