nuttx/arch/arm/src/cmake
Marco Casaroli 69061ea246 arch/arm: Say which linker is missing when FDPIC has none.
Without this the build says "arm-uclinuxfdpiceabi-ld: Command not found",
which does not say what that is, where to get it, or that the prefix can be
changed.

The make build reports at the link rather than while parsing, so that a tree
configured for FDPIC on a host without the linker can still be cleaned and
reconfigured: an error at parse time takes make distclean with it.  The
cmake build reports while configuring, where nothing is built yet.

Both name FDPIC_CROSSDEV, so a linker under another prefix can be used.

Checked on mps3-an547:picostest with CONFIG_FDPIC and the linker off PATH:
make distclean succeeds, and a module link stops with the message.  With the
linker present the modules build as before.

Signed-off-by: Marco Casaroli <marco.casaroli@gmail.com>
2026-09-09 10:21:21 +08:00
..
arm.cmake arch/arm: migrate to SPDX identifier 2024-12-06 09:25:23 +08:00
armclang.cmake Kconfig: Add configurable Stack Canaries protection levels. 2025-09-11 19:56:42 +08:00
armv6-m.cmake arch/arm: Add LLVM configuration to CMake 2025-01-10 16:58:01 +08:00
armv7-a.cmake arch/arm: Add LLVM configuration to CMake 2025-01-10 16:58:01 +08:00
armv7-m.cmake arch/arm: Add LLVM configuration to CMake 2025-01-10 16:58:01 +08:00
armv7-m_armclang.cmake arch/arm: migrate to SPDX identifier 2024-12-06 09:25:23 +08:00
armv7-m_clang.cmake arch/arm: migrate to SPDX identifier 2024-12-06 09:25:23 +08:00
armv7-m_gcc.cmake arch/arm: migrate to SPDX identifier 2024-12-06 09:25:23 +08:00
armv7-m_ghs.cmake ghs: change the vfpv3 to vfpv5 2026-01-14 09:41:49 +08:00
armv7-r.cmake arch/arm: migrate to SPDX identifier 2024-12-06 09:25:23 +08:00
armv8-m.cmake toolchain/arm/clang:Update clang compilation specifications 2026-02-04 02:33:36 +08:00
armv8-r.cmake arch/armv8-r: use -mfpu=fpv5-sp-d16 for SP-only Cortex-R52 targets 2025-12-08 21:09:05 +08:00
clang.cmake toolchain/arm/clang:Update clang compilation specifications 2026-02-04 02:33:36 +08:00
elf.cmake arch/arm: Say which linker is missing when FDPIC has none. 2026-09-09 10:21:21 +08:00
gcc.cmake Kconfig: Add configurable Stack Canaries protection levels. 2025-09-11 19:56:42 +08:00
ghs.cmake cmake: Use NUTTX(_DIR/_BIN_DIR) instead CMAKE(_SRC_DIR/_BIN_DIR) 2026-08-09 11:13:08 -03:00
platform.cmake cmake: Use NUTTX(_DIR/_BIN_DIR) instead CMAKE(_SRC_DIR/_BIN_DIR) 2026-08-09 11:13:08 -03:00
Toolchain.cmake arch/arm: migrate to SPDX identifier 2024-12-06 09:25:23 +08:00