Commit fbcd1bd
committed
INS-14641 Allow setting the toolchain prefix for cross-compilation
This allows build hosts like macOS to use a cross-compiler sitting
in ~/Downloads to cross-compile pinata sources.
For example, if you have an ARM cross compiler downloaded in
~/Downloads/arm-gnu-toolchain-13.3.rel1-darwin-arm64-arm-none-eabi
You should configure cmake with
cmake -DPREFIX=~/Downloads/arm-gnu-toolchain-13.3.rel1-darwin-arm64-arm-none-eabi/bin/arm-none-eabi- -DCMAKE_TOOLCHAIN_FILE=./gcc-arm-none-eabi.toolchain.cmake ..1 parent 1c9dd60 commit fbcd1bd
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
3 | 6 | | |
4 | 7 | | |
5 | 8 | | |
| |||
0 commit comments