Lines Matching refs:file
6 To use a custom toolchain defined in an external CMake file, :ref:`set these
14 :file:`TOOLCHAIN_ROOT` directory:
16 - :file:`cmake/toolchain/<toolchain name>/generic.cmake`: configures the
19 :ref:`devicetree` file.
20 - :file:`cmake/toolchain/<toolchain name>/target.cmake`: configures the
28 :file:`generic.cmake` and :file:`target.cmake` files should contain.
43 settings in a file named :file:`my-toolchain.cmake`, you can then invoke cmake
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
52 to solve this, and thus to get the :file:`include/other.h` included instead,
55 :file:`<TOOLCHAIN_ROOT>/cmake/toolchain/<toolchain name>/`.
57 When :makevar:`TOOLCHAIN_USE_CUSTOM` is set, the :file:`other.h` must be
60 A good location for the :file:`other.h` header file, would be a
62 :file:`include/toolchain`.