Lines Matching full:toolchain
6 To use a custom toolchain defined in an external CMake file, :ref:`set these
9 - Set :envvar:`ZEPHYR_TOOLCHAIN_VARIANT` to your toolchain's name
11 toolchain's CMake configuration files.
13 Zephyr will then include the toolchain cmake files located in the
16 - :file:`cmake/toolchain/<toolchain name>/generic.cmake`: configures the
17 toolchain for "generic" use, which mostly means running the C preprocessor
20 - :file:`cmake/toolchain/<toolchain name>/target.cmake`: configures the
21 toolchain for "target" use, i.e. building Zephyr and your application's
24 Here <toolchain name> is the same as the name provided in
43 settings in a file named :file:`my-toolchain.cmake`, you can then invoke cmake
44 as ``cmake -C my-toolchain.cmake ...`` to save typing.
46 Zephyr includes :file:`include/toolchain.h` which again includes a toolchain
50 based, for example ``llvm`` which then gets the :file:`toolchain/llvm.h` included.
51 This included file may though not be right for the custom toolchain. In order
55 :file:`<TOOLCHAIN_ROOT>/cmake/toolchain/<toolchain name>/`.
59 toolchain.
62 :file:`include/toolchain`.
63 To get the toolchain header included in zephyr's build, the