Commit Graph

8 Commits

Author SHA1 Message Date
69c4db9338 */Toolchain.cmake: Set CMAKE_FIND_ROOT_PATH_LIBRARY/INCLUDE to ONLY
For some reason, the default setting in all Toolchain.cmake
is:
```
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY BOTH)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE BOTH)
```

For cross-compilation, CMAKE_FIND_ROOT_PATH_MODE_PROGRAM=NEVER
makes sense (we only want to find executables in host system root),
but CMAKE_FIND_ROOT_PATH_MODE_LIBRARY/INCLUDE should be set
to ONLY, otherwise cmake may find libraries in host system root,
and try to link with incompatible libraries (instead of
cross-compilation sysroot).

Fixes #431.
2025-02-25 16:14:39 +01:00
54ee1fddbc doc: update Matt McCormick email 2024-11-08 17:11:12 -05:00
0d31400b97 Support for building images locally 2022-12-16 16:07:56 +01:00
fbb03de50f Update CT_ZLIB_MIRRORS to support downloading old versions of zlib 2022-10-20 11:51:32 +02:00
756f907987 Update linux-armv7-lts
Update linux-armv7-lts

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2022-05-19 12:56:23 +02:00
59fd46abf6 Down linux version build fail with linux 5.12 or above
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-10-16 13:51:40 +02:00
e89f739499 Update binutils to 2.36.1
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-10-16 11:53:57 +02:00
b48a46c0e5 Add linux-armv7-lts image
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-10-15 21:10:39 +02:00