Lines Matching +full:ninja +full:- +full:build
1 .. _no-west:
11 - cloning the additional source code repositories used by Zephyr in
13 - specifying the locations of these repositories to the Zephyr build
15 - flashing and debugging without understanding detailed usage of the
23 .. code-block:: console
27 Otherwise, Zephyr's build system will find it and may try to use
31 ------------------
37 .. code-block:: console
41 git clone https://github.com/zephyrproject-rtos/zephyr
50 ---------------------
52 You can build a Zephyr application using CMake and Ninja (or make) directly
55 .. zephyr-app-commands::
56 :zephyr-app: samples/hello_world
58 :goals: build
59 :gen-args: -DZEPHYR_MODULES=module1;module2;...
62 When building with west installed, the Zephyr build system will use it to set
63 :ref:`ZEPHYR_MODULES <important-build-vars>`.
66 these repositories, the build will still work.
76 instead of using ``west blobs``. See :ref:`bin-blobs` for more details.
79 ----------------------
81 Running build system targets like ``ninja flash``, ``ninja debug``,
83 <west-build-flash-debug>`. For example, ``ninja flash`` calls ``west
86 any :ref:`flash-debug-host-tools` which work for your board (and which those
89 If you want to use these build system targets but do not want to
93 .. code-block:: console
96 git clone https://github.com/zephyrproject-rtos/west.git .west/west
100 .. code-block:: none
108 After that, and in order for ``ninja`` to be able to invoke ``west``
112 build directory.
118 Note that ``west build`` invokes ``ninja``, among other
120 ``ninja`` involved by default, however, as ``west build`` does not
121 invoke ``ninja flash``, ``debug``, etc. The one exception is if you
122 specifically run one of these build system targets with a command
123 line like ``west build -t flash``. In that case, west is run twice:
124 once for ``west build``, and in a subprocess, again for ``west
125 flash``. Even in this case, ``ninja`` is only run once, as ``ninja
126 flash``. This is because these build system targets depend on an
127 up to date build of the Zephyr application, so it's compiled before