Page MenuHomePhabricator

TF-M: Build: GNUARM_PREFIX is not always calculated correctly
Closed, ResolvedPublic


On some build host systems the CMAKE_C_COMPILER variable contains a filename that has a .exe suffix. This needs to be cut off as well.

With the current version GNUARM_PREFIX results in arm-none-eabi.exe

The resulting error message:

/usr/bin/sh: CMAKE_GNUARM_AR-NOTFOUND: command not found
make[5]: *** [library/CMakeFiles/mbedcrypto.dir/build.make:1089: library/mbedcrypto.a] Error 127
make[4]: *** [CMakeFiles/Makefile2:178: library/CMakeFiles/mbedcrypto.dir/all] Error 2
make[3]: *** [Makefile:130: all] Error 2

Event Timeline

matetothpal triaged this task as Low priority.Jun 25 2020, 6:42 AM
matetothpal created this task.
matetothpal closed this task as Resolved.Sep 30 2020, 7:24 PM

Fixed in a separate commit